Skip to content

Commit 40b5235

Browse files
committed
flake8 configuration
1 parent 55e65cd commit 40b5235

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

docs/requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Sphinx~=3.0.2
2+
Pallets-Sphinx-Themes~=1.2.3
3+
sphinx-issues~=1.2.0
4+
sphinxcontrib-log-cabinet~=1.0.1
5+
python-dateutil~=2.8.1

setup.cfg

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[flake8]
2+
# B = bugbear
3+
# E = pycodestyle errors
4+
# F = flake8 pyflakes
5+
# W = pycodestyle warnings
6+
# B9 = bugbear opinions
7+
# ISC = implicit-str-concat
8+
select = B, E, F, W, B9, ISC
9+
ignore =
10+
# slice notation whitespace, invalid
11+
E203
12+
# line length, handled by bugbear B950
13+
E501
14+
# bare except, handled by bugbear B001
15+
E722
16+
# bin op line break, invalid
17+
W503
18+
# up to 88 allowed by bugbear B950
19+
max-line-length = 80
20+
per-file-ignores =
21+
# __init__ modules export names
22+
**/__init__.py: F401, F403

0 commit comments

Comments
 (0)