-
Notifications
You must be signed in to change notification settings - Fork 47
/
pyproject.toml
49 lines (42 loc) · 1008 Bytes
/
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
[tool.coverage.report]
omit = ["tests/*", "*__init__.py", "*_version.py"]
exclude_lines = ["if __name__ == .__main__.:"]
[tool.ruff]
exclude = ["__init__.py"]
lint.select = ["E", "F", "PLC", "PLE", "PLR", "PLW"]
lint.ignore = ["E501", "F722", "F821", "PLR2004", "PLR0915", "PLR0913", "PLC0414", "PLR0402", "PLR5501", "PLR0911", "PLR0912", "PLW0603", "PLW2901"]
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 120
src_paths = ["src", "tests"]
[tool.pydocstyle]
inherit = false
ignore = ["D100", "D104", "D203", "D205", "D211", "D213", "D406", "D407", "D413"]
match = ".*.py"
[tool.pytest]
minversion = 6.0
xfail_strict = true
log_auto_indent = true
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.black]
line-length = 120
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''