mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
misc packaging updates
This commit is contained in:
parent
788f4036df
commit
2ca615d19b
6 changed files with 46 additions and 8 deletions
30
setup.cfg
30
setup.cfg
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue