-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
70 lines (62 loc) · 1.09 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Ruff configuration
# See https://doc.astral.sh/ruff/configuration
[tool.ruff]
line-length = 120
target-version = "py37"
exclude = [
".venv",
".local",
".test/.local",
".cache",
]
[tool.ruff.format]
indent-style = "space"
[tool.ruff.lint]
extend-select = [
"E",
"F",
"ANN",
"W",
"T",
"COM",
"RUF",
]
ignore = [
"ANN101",
"ANN102",
"ANN002",
"ANN003",
"RUF100",
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = [
"T201",
"E501",
]
"test/*" = [
"T201",
"E501",
]
"lizmap_server/tooltip.py" = [
"RUF001",
"RUF002",
]
[tool.ruff.lint.isort]
#lines-between-types = 1
known-third-party = [
"qgis",
]
#combine-as-imports = true
#split-on-trailing-comma = true
#multi-line-output = 3
#include-trailing-comma = true
#use-parentheses = true
#ensure-newline-before-comments = true
[tool.ruff.lint.flake8-annotations]
ignore-fully-untyped = true
suppress-none-returning = true
suppress-dummy-args = true
[tool.qgis-plugin-ci]
plugin_path = "lizmap_server"
github_organization_slug = "3liz"
project_slug = "qgis-lizmap-server-plugin"