misc packaging updates

This commit is contained in:
Manuel Barkhau 2018-11-04 21:07:25 +01:00
parent 788f4036df
commit 2ca615d19b
6 changed files with 46 additions and 8 deletions

View file

@ -1,6 +1,25 @@
[flake8]
ignore = E203,W504
max-line-length = 110
ignore =
# No whitespace after paren open "("
E201,
# No whitespace before paren ")"
E202,
# No whitespace before ":"
E203,
# Multiple spaces before operator
E221
# Multiple spaces before keyword
E272,
# Spaces around keyword/parameter equals
E251
# Line too long (B950 is used instead)
E501,
# Line break before binary op
W503,
# Line break after binary op
W504
select = C,E,F,W,B,B901,B950
max-line-length = 100
exclude = .git,__pycache__,.eggs/,dist/,.mypy_cache
[mypy]
@ -9,6 +28,13 @@ disallow_untyped_calls = True
follow_imports = silent
strict_optional = True
[aliases]
test=pytest
[tool:pytest]
addopts = --verbose
python_files = test/*.py
[bdist_wheel]
universal = 1