-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.cfg
37 lines (35 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
[flake8]
# Primarily ignoring whitespace, indentation, and commenting etiquette that black does not catch
# These will be fixed in a code-cleaning branch in the future
ignore =
# Let black handle whitespace line breaks and stuff like that
E1, E2, W503, W504, W505,
# multiline statements are ok sometimes
E704,
# lambda expressions are useful
E731,
# variable names like "l" are pretty common for mode numbers
E741,
# don't want to always use "imperative mood" in docstrings
D401,
# don't care about docstrings in __dunder__ methods
D105,
per-file-ignores =
# need to import things to top level even if they aren't used there
zernipax/__init__.py: F401
max-line-length = 88
exclude =
.git/*
versioneer.py
max-complexity = 15
docstring-convention = numpy
[isort]
profile=black
src_paths=zernipax,tests
[versioneer]
VCS = git
style = pep440
versionfile_source = zernipax/_version.py
versionfile_build = zernipax/_version.py
tag_prefix = v
parentdir_prefix = zernipax-