Skip to content

Commit a902f2b

Browse files
committed
Update flake8 configuration
Add descriptions of ignored items and exclude non-code directories.
1 parent 4df71b0 commit a902f2b

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

.flake8

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
[flake8]
2-
ignore = E402,F401,F403,F405,W503
2+
ignore =
3+
# E402 module level import not at top of file
4+
E402,
5+
# F401 'builtins.*' imported but unused
6+
F401,
7+
# F403 'from builtins import *' used; unable to detect undefined names
8+
F403,
9+
# F405 'unicode' may be undefined, or defined from star imports: builtins
10+
F405,
11+
# W503 line break before binary operator
12+
W503,
313
exclude =
4-
.git,
14+
.git/,
15+
.idea/,
16+
.venv/,
17+
.vscode/,
518
__pycache__,
19+
dist/,
20+
docs/conf.py,
21+
venv/,
22+
versioneer.py,
623
webexteamssdk/_version.py,
7-
docs/source/conf.py,
8-
build,
9-
dist,

0 commit comments

Comments
 (0)