-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
63 lines (47 loc) · 1.07 KB
/
setup.cfg
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
57
58
59
60
61
62
63
[flake8]
max-line-length = 88
max-complexity = 12
ignore = E501, W503, E203, P103, E302, F821
[mypy]
exclude = ['venv', '.venv']
strict_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
check_untyped_defs = True
disallow_untyped_defs = True
disallow_any_generics = False
[mypy-requests.*]
ignore_missing_imports = True
[mypy-pytz.*]
ignore_missing_imports = True
[tool:black]
line-length = 88
include = '\.pyi?$'
[tool:isort]
profile = "black"
multi_line_output = 3
line_length = 88
default_section = "THIRDPARTY"
known_third_party =cryptography,nagadpy,pytest,pytz,requests
known_first_party =
[tool:pylint]
disable =
line-too-long,
abstract-method,
no-member
enable = useless-suppression
[tool:pylint.MESSAGES CONTROL]
disable = unrecognized-option
[tool:pylint.REPORTS]
reports = no
[tool:pylint.FORMAT]
max-line-length = 88
[tool:pylint.BASIC]
good-names = _, i, e, setUp, tearDown, maxDiff
[tool:pylint.UNUSED_IMPORTS]
enabled = true
[tool:pytest]
minversion = 6.0
# addopts = -ra -q
testpaths = tests
filterwarnings = ignore::DeprecationWarning