-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
34 lines (30 loc) · 962 Bytes
/
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
[bdist_wheel]
universal = 1
[aliases]
test=pytest
[versioneer]
VCS = git
versionfile_source = imhr/_version.py
versionfile_build = imhr/_version.py
style = pep440-pre
tag_prefix =
parentdir_prefix = imhr-
[flake8]
max-line-length = 125
ignore =
W503, # line break before binary operator.
W504, # line break after binary operator.
E402, # module level import not at top of file.
E731, # do not assign a lambda expression, use a def.
C406, # Unnecessary list literal - rewrite as a dict literal.
C408, # Unnecessary dict call - rewrite as a literal.
C409, # Unnecessary list passed to tuple() - rewrite as a tuple literal.
S001 # found modulo formatter (incorrect picks up mod operations)
exclude =
.eggs/*.py,
env # exclude asv benchmark environments from linting
[yapf]
based_on_style = pep8
split_before_named_assigns = false
split_penalty_after_opening_bracket = 1000000
split_penalty_logical_operator = 30