-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (42 loc) · 804 Bytes
/
pyproject.toml
File metadata and controls
49 lines (42 loc) · 804 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[project]
requires-python = ">=3.11"
[tool.black]
line-length = 88
target-version = ['py311']
include = '\\.pyi?$'
extend-exclude = '''
/(
\\.git
| \\.venv
| venv
| \\.mypy_cache
| __pycache__
)/
'''
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
exclude = [
"\\.venv",
"__pycache__"
]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
"tests",
]
[tool.ruff]
target-version = "py311"
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "W"]
ignore = [
"E203", # keep compatible with black
"E501", # line too long (handled by black formatter)
]
[tool.ruff.lint.per-file-ignores]
# Example: relax some rules for tests if needed in the future
# "tests/**" = ["S101"]