-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (60 loc) · 1.02 KB
/
pyproject.toml
File metadata and controls
68 lines (60 loc) · 1.02 KB
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
[tool.pytest]
# pytest --log-cli-level=INFO
# log_cli = true
# log_cli_level = "INFO"
minversion = "9.0"
addopts = [
"-v",
"-ra",
"--import-mode=importlib",
]
# "--cache-clear",
# "--strict-markers"
# "-p", "no:qgis", # Disable pytest-qgis plugin - conflicts with our custom fixtures
# "--tb=short", "
testpaths = [
"test",
]
# there's no package
# pythonpath = [
# "src"
# ]
# https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html
[tool.black]
enabled = true
line-length = 120
preview = true
[tool.isort]
line_length = 120
[tool.pylint.BASIC]
good-names = [
"i",
"j",
"k",
"e",
"H",
"W",
"df",
"dt",
"dx",
"dy",
"ok",
"_",
]
[tool.pylint.FORMAT]
max-line-length = 120
[tool.pylsp-mypy]
enabled = true
[[tool.mypy.overrides]]
module = [
"fire2a",
"fire2a.*",
"processing",
]
follow_untyped_imports = true
ignore_missing_imports = true
[tool.ruff]
line-length = 120
[tool.ruff.lint]
# Disable fix for unused imports (`F401`).
unfixable = ["F401"]