-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
51 lines (45 loc) · 968 Bytes
/
setup.cfg
File metadata and controls
51 lines (45 loc) · 968 Bytes
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
[flake8]
ignore=
# Missing docstring in public module
D100,
# Missing docstring in public class
D101,
# Missing docstring in public package
D104,
# Class without a base class
WPS306,
# Missing docstring in __init__
D107,
# Missing docstring in public method
D102,
# Imported but not used
F401,
# Line break before binary operator
W503,
F403,
F405,
exclude =
.git,
__pycache__,
tests
per-file-ignores =
# There are multiple `assert`s in tests, we allow them:
tests/*.py: S101
max-local-variables = 15
max-methods = 10
max-line-length = 120
[black]
line-length = 120
target-version = ['py39']
exclude = vendors
[isort]
profile = black
multi_line_output = 3
skip = vendors
[mypy]
ignore_missing_imports = True
follow_imports = skip
follow_imports_for_stubs = False
cache_dir = /tmp/test_cache/.mypy_cache
strict_optional = False
disable_error_code = attr-defined, name-defined