-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.cfg
37 lines (35 loc) · 1.04 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
[flake8]
exclude =
venv
build
tests
# Things to ignore:
extend-ignore =
# C101 - Coding magic comment not found
C101,
# C812 - missing trailing comma. Black figures it out.
C812,
# C815 - missing trailing comma in Python 3.5+. Black figures it out.
C815,
D,
# E203 - Whitespace before ':'. Required by black.
E203,
# E501 - Line too long. Black will fold normal source lines.
E501,
# E731 - do not assign a lambda expression, use a def
E731,
# E800 - Found commented out code. Does not get along with black `fmt: off`
E800,
# F811 - redefinition of unused X. Does not understand @overload.
F811,
# Q000 - Remove bad quotes. Black uses double quotes.
Q000,
# S303 - Use of insecure MD2, MD4, MD5, or SHA1 hash function.
S303,
# S305 - Use of insecure cipher mode cryptography.hazmat.primitives.ciphers.modes.ECB.
S305,
WPS,
DAR,
# __init__.py imports modules for library consumer to use
# F401 - Imported but unused
per-file-ignores = __init__.py:F401