-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
32 lines (28 loc) · 858 Bytes
/
pyproject.toml
File metadata and controls
32 lines (28 loc) · 858 Bytes
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
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = [
"-q",
"--strict-markers",
]
filterwarnings = [
"ignore::DeprecationWarning",
]
[tool.coverage.run]
source = ["services", "utils", "config"]
omit = ["*/__pycache__/*", "*/.mypy_cache/*"]
[tool.coverage.report]
show_missing = false
skip_covered = false
[tool.ruff]
line-length = 120
extend-exclude = [".mypy_cache", "__pycache__", "debug"]
[tool.ruff.lint]
# F (pyflakes) and E (pycodestyle errors) catch real bugs.
# W (warnings) is purely cosmetic — skip to keep the audit signal-to-noise high.
# Bandit/mypy run separately in CI.
select = ["E", "F"]
ignore = [
"E501", # line length — covered by `line-length` above where we want it
"E402", # imports below code — intentional in webdav_server.py
"E701", # multiple statements on one line — already audited
]