The new version of flake8 is more strict on code checking and complained at several places. This commit fixes the code smells such that flake8 is happy again
31 lines
817 B
INI
31 lines
817 B
INI
[bdist_wheel]
|
|
# This flag says that the code is written to work on both Python 2 and Python
|
|
# 3. If at all possible, it is good practice to do this. If you cannot, you
|
|
# will need to generate wheels for each Python version that you support.
|
|
universal = 1
|
|
|
|
[sdist]
|
|
# Used by setup.py sdist
|
|
formats=gztar
|
|
|
|
[tool:pytest]
|
|
norecursedirs = .git build .tox/ .tmp/
|
|
addopts = --ignore=.tmp/ --ignore=.git/ --ignore=.tox/ -p no:warnings
|
|
testpaths = test/unit
|
|
|
|
[flake8]
|
|
# For error codes, see
|
|
# http://pep8.readthedocs.org/en/latest/intro.html#error-codes
|
|
#
|
|
# This file is generated automatically:
|
|
exclude=xml_parse.py
|
|
# we allow long lines (E501)
|
|
# we ignore warnings about quoting of escape sequences (W605)
|
|
ignore = E501, W605
|
|
# we allow a custom complexity level
|
|
max-complexity = 12
|
|
|
|
[doc8]
|
|
max-line-length = 90
|
|
verbose = 1
|