Skip to content

Commit 8b93061

Browse files
committed
Add flake8 configuration
1 parent 9581554 commit 8b93061

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.flake8

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# See:
2+
#
3+
# https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes (E, W)
4+
# https://flake8.pycqa.org/en/latest/user/error-codes.html (F)
5+
# https://github.com/PyCQA/flake8-bugbear
6+
#
7+
# for error codes. And
8+
#
9+
# https://flake8.pycqa.org/en/latest/user/violations.html#selecting-violations-with-flake8
10+
#
11+
# for error classes selected below.
12+
13+
[flake8]
14+
max-line-length = 80
15+
select = C,E,F,W,B,B950
16+
ignore = E501, W503

0 commit comments

Comments
 (0)