-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.flake8
46 lines (42 loc) · 970 Bytes
/
.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
40
41
42
43
44
45
46
[flake8]
# Maximum line length for PEP8 compliance
max-line-length = 88
# Exclude specific directories from linting
exclude =
.git,
__pycache__,
build,
dist,
.venv,
venv,
env,
*.egg-info,
.tox,
.mypy_cache,
.pytest_cache,
cov_html
# Ignore specific error codes
# E203: Whitespace before ':'
# E226 : Missing whitespace around arithmetic operator
# E266: Too many leading '#' for block comments
# E501: Line length
# E302: Ignore the expected 2 blank lines error
# E731: Do not assign a lambda expression, use a def
# W503: Line break before binary operator
# F403: Import * used
# F405: Name may be undefined or defined from import * used
ignore =
E203,
E226,
E266,
E302,
E501,
E731,
W503,
F403,
F405
# Select specific error codes (Optional, if want to enforce certain checks only)
# select =
# E, W, F
# Enable type hints checking (Optional)
# enable-extensions = H102, H103