-
Notifications
You must be signed in to change notification settings - Fork 1
/
.flake8
56 lines (53 loc) · 1.58 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[flake8]
ignore =
# Unexpected indentation (comment)
# https://lintlyci.github.io/Flake8Rules/rules/E116.html
E116,
# Continuation line under-indented for hanging indent
# https://lintlyci.github.io/Flake8Rules/rules/E121.html
E121,
# Closing bracket does not match indentation of opening bracket's line
# https://lintlyci.github.io/Flake8Rules/rules/E123.html
E123,
# Continuation line over-indented for hanging indent
# https://lintlyci.github.io/Flake8Rules/rules/E126.html
E126,
# Continuation line under-indented for visual indent
# https://lintlyci.github.io/Flake8Rules/rules/E128.html
E128,
# Closing bracket is missing indentation
# https://lintlyci.github.io/Flake8Rules/rules/E133.html
E133,
# Line too long
# https://lintlyci.github.io/Flake8Rules/rules/E501.html
E501,
# List comprehension redefines name from line n
# https://lintlyci.github.io/Flake8Rules/rules/F812.html
# This catches repeat uses that are not reflective of the
# rule as defined, so we remove it.
F812,
# Line break occurred before a binary operator
# https://lintlyci.github.io/Flake8Rules/rules/W503.html
W503
filename =
./vsh/*.py
./tests/*.py
./scripts/*.py
exclude =
.tox,
.eggs,
# ignore git repo
.git,
# ignore dunder files (e.g. __init__)
__*.py,
# ignore cached files
__pycache__,
# ignore build artifacts
build,
# ignore build artifacts
dist,
# ignore 3rd party
vsh/vendored
inline-quotes = '
multiline-quotes = '''
docstring-quotes = """