2018-09-02 21:48:12 +02:00
|
|
|
[flake8]
|
2018-11-04 21:07:25 +01:00
|
|
|
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
|
2018-09-02 21:48:12 +02:00
|
|
|
exclude = .git,__pycache__,.eggs/,dist/,.mypy_cache
|
|
|
|
|
|
|
|
|
|
[mypy]
|
|
|
|
|
check_untyped_defs = True
|
|
|
|
|
disallow_untyped_calls = True
|
|
|
|
|
follow_imports = silent
|
|
|
|
|
strict_optional = True
|
|
|
|
|
|
2018-11-04 21:07:25 +01:00
|
|
|
[aliases]
|
|
|
|
|
test=pytest
|
|
|
|
|
|
|
|
|
|
[tool:pytest]
|
|
|
|
|
addopts = --verbose
|
|
|
|
|
python_files = test/*.py
|
|
|
|
|
|
2018-09-02 21:48:12 +02:00
|
|
|
[bdist_wheel]
|
|
|
|
|
universal = 1
|
|
|
|
|
|
|
|
|
|
[pycalver]
|
2018-09-02 23:36:57 +02:00
|
|
|
current_version = v201809.0002-beta
|
2018-09-02 21:48:12 +02:00
|
|
|
commit = True
|
|
|
|
|
tag = True
|
|
|
|
|
|
|
|
|
|
[pycalver:file:setup.cfg]
|
|
|
|
|
patterns =
|
|
|
|
|
current_version = {version}
|
|
|
|
|
|
|
|
|
|
[pycalver:file:setup.py]
|
|
|
|
|
patterns =
|
2018-09-02 23:36:57 +02:00
|
|
|
version="{pep440_version}"
|
2018-09-02 21:48:12 +02:00
|
|
|
|
|
|
|
|
[pycalver:file:src/pycalver/__init__.py]
|
|
|
|
|
patterns =
|
|
|
|
|
__version__ = "{version}"
|
|
|
|
|
|
|
|
|
|
[pycalver:file:README.rst]
|
|
|
|
|
patterns =
|
|
|
|
|
badge/CalVer-{calver}{build}-{release}-blue.svg
|
2018-09-03 00:14:10 +02:00
|
|
|
:alt: CalVer {version}
|