forked from silentsokolov/django-admin-rangefilter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
36 lines (30 loc) · 896 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
[tool.black]
line-length = 100
target-version = ['py38', 'py39']
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',
]