-
Notifications
You must be signed in to change notification settings - Fork 106
/
Copy pathpyproject.toml
56 lines (47 loc) · 1.16 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
[tool.black]
line-length = 100
target-version = ['py36', 'py38', 'py39', 'py310', 'py311', 'py312']
exclude = '(\.eggs|\.git|\.mypy_cache|\.venv|venv|env|_build|build|build|dist|eggs)'
[tool.isort]
line_length = 100
profile = "black"
use_parentheses = true
skip = '.eggs/,.mypy_cache/,.venv/,venv/,env/,eggs/'
[tool.pylint]
[tool.pylint.master]
py-version = 3.9
[tool.pylint.messages-control]
disable=[
'C',
'R',
# Redundant with mypy
'typecheck',
# There are many places where we want to catch a maximally generic exception.
'bare-except',
'broad-except',
# Pylint is by default very strict on logging string interpolations, but the
# (performance-motivated) rules do not make sense for infrequent log messages (like error reports)
# and make messages less readable.
'logging-fstring-interpolation',
'logging-format-interpolation',
'logging-not-lazy',
'too-many-arguments',
'duplicate-code',
]
[tool.ruff]
exclude = [
'.git',
'.eggs',
'.mypy_cache',
'.ruff_cache',
'.venv',
'venv',
'dist',
'_build',
'build',
]
line-length = 100
target-version = "py311"
[tool.ruff.format]
indent-style = "space"
docstring-code-format = true