forked from Lead-Studios/veritix-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.flake8
More file actions
43 lines (40 loc) · 889 Bytes
/
.flake8
File metadata and controls
43 lines (40 loc) · 889 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
[flake8]
max-line-length = 127
max-complexity = 10
select = B,C,E,F,W,T4,B9
ignore =
# Ignore missing docstrings in tests
D100,D101,D102,D103,D104,D105,D106,D107,
# Allow line breaks before binary operators
W503,
# Allow line breaks after binary operators
W504,
# Allow f-strings in logging
G004,
# Allow star imports in __init__.py
F401,
# Allow unused imports in __init__.py
F403
exclude =
.git,
__pycache__,
venv/,
.venv/,
build/,
dist/,
.eggs/,
*.egg-info/,
migrations/
per-file-ignores =
# Ignore import at top of file in __init__.py
__init__.py:F401
# Relax complexity requirements for tests
tests/*:C901
# Allow longer lines in tests
tests/*:E501
# Show source code in output
show-source = True
# Show statistics at the end
statistics = True
# Count errors
count = True