Skip to content

Commit 3db5b23

Browse files
committed
add flake8 configurations
Signed-off-by: Tobias Kuppens Groot <[email protected]>
1 parent badbd47 commit 3db5b23

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.flake8

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[flake8]
2+
# Set the max line length to 88, which matches black code formatter
3+
# https://black.readthedocs.io/en/stable/
4+
max-line-length = 88
5+
6+
exclude =
7+
# No reason to check git´s directory
8+
.git,
9+
# No value in checking cache directories
10+
__pycache__,
11+
# The projects virtual environment named .venv
12+
.venv,
13+
# Documentation doesn't need to be tracked
14+
docs
15+
16+
17+
# extend-ignore =
18+
19+
verbose = 2
20+
quiet = 0
21+
format = pylint
22+
max-complexity = 15
23+
# We want to count the total number of errors flake8 finds during inspection
24+
count = True
25+
# Report all errors, even if it is on the same line as a # NOQA comment
26+
disable-noqa = False
27+
# Print the source code generating the error/warning in question
28+
show-source = True
29+
statistics = True
30+
31+
# Doctests
32+
doctests = True

0 commit comments

Comments
 (0)