-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.flake8
31 lines (28 loc) · 1.08 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
[flake8]
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
# run the flake code linting checks in localhost using the above command
# other specific settings to flake8 is described below
# add per line ignores, if required
per-file-ignores =
# F401 '...' imported but unused - ignore for init-time registration
VisualCrossing/__init__.py: F401
# F403 '... import *' used; unable to detect undefined names
VisualCrossing/__init__.py: F403
# setting maximum line length
max-line-length = 127
# the following definations can be ignored
ignore =
# E20{1-3} whitespace before '{', '}', and ':' respectively
# as violated by black: https://github.com/psf/black
E201,
E202,
E203,
# E221 multiple spaces before operator
E221,
# E251 unexpected spaces around keyword / parameter equals
E251,
# E261 at least two spaces before inline comment
E261
# W50{3,4} line break after binary operator
W503,
W504