-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
39 lines (33 loc) · 1.01 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
34
35
36
37
38
39
[flake8]
exclude =
docs/conf.py
.git
__pycache__
select = A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,B9
enable_extensions =
H601 # Cohesion
I100 # Your import statements are in the wrong order.
I101 # The names in your from import are in the wrong order.
I201 # Missing newline between import groups.
I202 # Additional newline in a group of imports.
ignore =
D200 # One line docstrings are fine.
D401 # Allow first line of docstring to be passive.
E501 # Prefer use of B950.
I002 # I don't use isort.
IF100 # x if bool else y is good.
RST301 # Allow directives in docstrings.
per-file-ignores =
# Allow assert statements in tests:
test_*.py: S101
# Allow * imports in __init__.py files:
__init__.py: F401, F403
count = True
max-line-length = 120
show-source = True
statistics = True
radon-max-cc = 15
docstring-convention = numpy
import-order-style = pycharm
application-import-names = lattices
no-accept-encodings = True