-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (41 loc) · 1.17 KB
/
Copy pathpyproject.toml
File metadata and controls
46 lines (41 loc) · 1.17 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
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "elo-ranking-system"
version = "1.0.25"
description = "A dart club ranking system using the Elo Rating System"
requires-python = ">=3.11"
readme = "README.md"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short --strict-markers"
asyncio_default_fixture_loop_scope = "function"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
]
[tool.coverage.run]
source = ["app"]
omit = [
"app/migrations/*",
"app/static/*",
"app/templates/*",
]
[tool.coverage.report]
fail_under = 80
show_missing = true
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.",
"if TYPE_CHECKING:",
]
[tool.ruff]
# Matches the single-worker SQLite runtime (see Dockerfile / CI). The formatter
# uses line-length to decide wrapping; 100 keeps the existing style (E501 is
# not enforced by the linter) while normalizing everything else (L3).
line-length = 100
target-version = "py311"