-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
57 lines (49 loc) · 1.01 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
[tool.mypy]
python_version = '3.11'
[[tool.mypy.overrides]]
module = [
'graphviz',
'vpython',
'z3',
'networkx',
'matplotlib.pyplot',
'matplotlib',
]
ignore_missing_imports = true
[tool.ruff]
extend-select = ["C4", "C90", "SIM", "TCH"]
ignore = ["SIM108"]
[tool.ruff.format]
docstring-code-format = true
# Todo: unmark this once we hit 100% comments
[tool.ruff.lint]
select = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.isort]
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"local-folder",
]
[tool.coverage.run]
concurrency = ["multiprocessing"]
branch = true
command_line = '-m pytest'
source = ['.']
relative_files = true
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:",
"def main",
"if TYPE_CHECKING:",
"raise AssertionError",
"# pragma: no cover",
"if self.animate:",
]
omit = ["download_inputs.py", "maker.py", "day22/lib/vis.py"]
precision = 2
skip_covered = true
fail_under = 0