-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (50 loc) · 836 Bytes
/
pyproject.toml
File metadata and controls
53 lines (50 loc) · 836 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
49
50
51
52
53
[tool.black]
line-length = 88
target-version = ['py310', 'py311', 'py313']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| venv
| .venv
)/
'''
fast = true
color = true
verbose = true
check = false
[tool.flake8]
max-line-length = 88
ignore = [
"E501", # Ignore line length warnings
"W503", # Ignore "line break before binary operator" warnings
"E203" # Ignore spacing around operators warnings
]
exclude = [
".git",
".tox",
".venv",
"build",
"dist",
"_build"
]
max-complexity = 10
select = [
"C", # Cyclomatic complexity checks
"E", # Errors
"F", # Pyflakes checks
"W", # Warnings
]
[tool.mypy]
files = "."
disallow_untyped-calls = true
disallow_untyped-defs = true
strict = true