This repository has been archived by the owner on May 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.flake8
33 lines (29 loc) · 1.66 KB
/
.flake8
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
[flake8]
extend-ignore =
Q0, E501, C812, E203, W503 # These default to arguing with Black. We might configure some of them eventually
ANN1, # These insist that we have Type Annotations for self and cls.
D105, D107, # Missing Docstrings in magic method and __init__
S311, # Standard pseudo-random generators are not suitable for security/cryptographic purposes.
D401, # First line should be in imperative mood; try rephrasing
D400, # First line should end with a period
# Everything below this line is something we care about, but don't currently meet
ANN002, # Missing type annotation for *args
ANN003, # Missing type annotation for **kwargs
B009, # Do not call getattr with a constant attribute value, it is not any safer than normal property access.
B010, # Do not call setattr with a constant attribute value, it is not any safer than normal property access.
D100, # Missing docstring in public module
D101, # ... class
D102, # ... method
D103, # ... function
D104, # ... package
D414, # Section has no content - caused by incomplete method in channel.py line 595
F401, # ... imported but unused
F403, # 'from module import *' used; unable to detect undefined names
F405, # ... may be undefined, or defined from star imports
# Plugins we don't currently include: flake8-return
R503, # missing explicit return at the end of function ableto return non-None value.
R504, # unecessary variable assignement before return statement.
# Plugins we don't currently include: flake8-unused-arguments
U100, # Unused argument
U101, # Unused argument starting with an underscore
max-line-length=120