Skip to content

Commit 8c8200d

Browse files
committed
Add flake8 and isort config
1 parent 6124930 commit 8c8200d

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

setup.cfg

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
[flake8]
2+
exclude = .*/,.tox,*.egg,qencode/_compat.py,qencode/__*__.py,
3+
select = E,W,F,N
4+
max-line-length = 88
5+
# Stuff we ignore thanks to black: https://github.com/ambv/black/issues/429
6+
ignore = E111,
7+
E121,
8+
E122,
9+
E123,
10+
E124,
11+
E125,
12+
E126,
13+
E201,
14+
E202,
15+
E203,
16+
E221,
17+
E222,
18+
E225,
19+
E226,
20+
E227,
21+
E231,
22+
E241,
23+
E251,
24+
E261,
25+
E262,
26+
E265,
27+
E271,
28+
E272,
29+
E302,
30+
E303,
31+
E306,
32+
E502,
33+
E701,
34+
E702,
35+
E703,
36+
E704,
37+
W291,
38+
W292,
39+
W293,
40+
W391,
41+
W503
42+
43+
[isort]
44+
combine_as_imports= true
45+
default_section = THIRDPARTY
46+
include_trailing_comma = true
47+
multi_line_output = 3
48+
known_pytest = pytest,py
49+
known_first_party = qencode
50+
split_before_closing_bracket = true
51+
sections = FUTURE,STDLIB,PYTEST,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
52+
line_length = 88
53+
not_skip = __init__.py

0 commit comments

Comments
 (0)