-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (55 loc) · 1.31 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (55 loc) · 1.31 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --strict-markers --cov=src --cov-report=term-missing --cov-report=html --cov-report=xml --tb=short"
testpaths = [
"tests/unit",
"tests/integration",
"tests/emails",
]
pythonpath = [
"src",
]
markers = [
"integration: marks tests as integration tests that require real databases",
"unit: marks tests as unit tests (isolated components)",
"emails: marks tests as email functionality tests",
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"smoke: marks tests as smoke tests (quick validation)",
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
]
[tool.coverage.run]
source = ["src"]
omit = [
"*/tests/*",
"*/test_*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
]
[tool.black]
line-length = 88
target-version = ['py38']
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"UP", # pyupgrade
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
]
ignore = [
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]