bumpver/setup.cfg

81 lines
1.6 KiB
INI
Raw Normal View History

2018-11-04 21:34:53 +01:00
[metadata]
license_file = LICENSE
[bdist_wheel]
universal = 1
[mypy]
check_untyped_defs = True
disallow_untyped_calls = True
follow_imports = silent
strict_optional = True
ignore_missing_imports = True
2018-09-02 21:48:12 +02:00
[flake8]
2018-11-04 21:34:53 +01:00
max-line-length = 100
max-complexity = 10
2018-11-04 21:07:25 +01:00
ignore =
2018-11-09 19:22:17 +01:00
# Missing trailing comma (handled by sjfmt)
C812
2018-11-04 21:07:25 +01:00
# No whitespace after paren open "("
2018-11-04 21:34:53 +01:00
E201
2018-11-04 21:07:25 +01:00
# No whitespace before paren ")"
2018-11-04 21:34:53 +01:00
E202
2018-11-04 21:07:25 +01:00
# No whitespace before ":"
2018-11-04 21:34:53 +01:00
E203
2018-11-04 21:07:25 +01:00
# Multiple spaces before operator
E221
# Multiple spaces before keyword
2018-11-04 21:34:53 +01:00
E272
2018-11-04 21:07:25 +01:00
# Spaces around keyword/parameter equals
E251
# Line too long (B950 is used instead)
2018-11-04 21:34:53 +01:00
E501
2018-11-04 21:07:25 +01:00
# Line break before binary op
2018-11-04 21:34:53 +01:00
W503
2018-11-04 21:07:25 +01:00
# Line break after binary op
W504
2018-11-04 21:34:53 +01:00
# Missing docstring in public module
# D100
# Missing docstring in public class
# D101
# Missing docstring on __init__
D107
select = A,AAA,D,C,E,F,W,H,B,D212,D404,D405,D406,B901,B950
exclude =
.git
__pycache__
.eggs/
dist/
.mypy_cache
2018-09-02 21:48:12 +02:00
2018-11-04 21:34:53 +01:00
# Hopefully this can be resolved, so D404, D405 start working
# https://github.com/PyCQA/pydocstyle/pull/188
2018-09-02 21:48:12 +02:00
2018-11-04 21:07:25 +01:00
[tool:pytest]
2018-11-04 21:34:53 +01:00
addopts = --doctest-modules
2018-11-04 21:07:25 +01:00
2018-09-02 21:48:12 +02:00
[pycalver]
2018-11-11 15:46:00 +01:00
current_version = v201811.0004-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}"
2018-11-04 21:34:53 +01:00
[pycalver:file:README.md]
2018-09-02 21:48:12 +02:00
patterns =
2018-11-04 21:34:53 +01:00
[PyCalVer {calver}{build}-{release}]
img.shields.io/badge/PyCalVer-{calver}{build}--{release}-blue