-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
63 lines (52 loc) · 1.38 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]
format = pylint
show-source = true
statistics = true
doctests = true
max-line-length = 88
# mccabe
max-complexity = 10
enable-extensions =
# flake8-type-checking
TC, TC1
ignore =
# default ignore list (conflicts with black)
E121,E123,E126,E226,E24,E704,W503,W504
# flake8-bandit
# pytest in tests and some checks for readability
S101
# Excluding some directories:
exclude =
.git
__pycache__
.venv
venv
.eggs
*.egg
**/migrations/*.py
# Ignoring some errors in some files:
per-file-ignores =
# TC002 Move third-party import into a type-checking block
tests/*.py: TC002
### Plugins
# flake8-bugbear
extend-immutable-calls =
# flake8-pytest-style
pytest-parametrize-names-type = csv
# flake8-type-checking
type-checking-pydantic-enabled = false
type-checking-fastapi-enabled = false
type-checking-fastapi-dependency-support-enabled = false
type-checking-cattrs-enabled = false
# flake8-typing-imports
min_python_version = 3.10.0
# flake8-unused-arguments
unused-arguments-ignore-abstract-functions = true
unused-arguments-ignore-overload-functions = true
unused-arguments-ignore-override-functions = true
unused-arguments-ignore-stub-functions = true
unused-arguments-ignore-lambdas = true
unused-arguments-ignore-variadic-names = true
unused-arguments-ignore-dunder = true
# force-future-annotations
force-future-annotations = true