-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
29 lines (27 loc) · 821 Bytes
/
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
[flake8]
max-line-length = 120
min_python_version = 3.10
exclude = node_modules,env,venv,migrations,docker,temp
max-complexity = 8
max-annotations-complexity = 4
ignore = W503, P103, D, TYP001, TYP004
var_names_exclude_pathes = node_modules,env,venv
assert_allowed_in_pathes = tests,migrations,env,venv
adjustable-default-max-complexity = 8
per-file-ignores =
*/__init__.py: F401, ABS101
*/tests/*: TAE001, FNE006, CFQ002
tests/*: TAE001, FNE006, CFQ002
conftest.py: TAE001, FNE008, FNE006
**/conftest.py: TAE001, FNE008, FNE006
custom_types.py: CCE001
ban-relative-imports = True
min-coverage-percents = 80
[mypy]
ignore_missing_imports = True
allow_redefinition = True
exclude = venv|tests|migrations|docker|temp
[tool:pytest]
addopts = --ignore=docker --ignore=venv --ignore=env
env =
POSTGRES_DBNAME=test