-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.cfg
39 lines (36 loc) · 1.01 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[metadata]
long_description=file: README.md
long_description_content_type=text/markdown
classifiers =
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3
[flake8]
ignore =
B001, # Do not use bare `except:`
B008, # Do not perform calls in argument defaults.
D10, # Missing docstring
E203, # Whitespace before ':' (breaks black)
E266, # Too many leading '#' for block comment
E302, # Expected 2 blank lines, found 0
E501, # Line too long
E722, # do not use bare 'except'
E731, # Do not assign a lambda expression, use a def
W503 # Line break occurred before a binary operator
select = B,C,D,E,F,W,T4,B902
# The GitHub editor is 127 chars wide
max-line-length = 127
max-complexity = 18
exclude =
.git,
__pycache__,
build,
docs,
third_party
per-file-ignores = __init__.py:F401
docstring-convention = google
[isort]
profile = black
line_length = 127
multi_line_output = 3
include_trailing_comma = True
skip = build, docs, third_party