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-11 17:50:01 +01:00
|
|
|
# Whitespace before ":"
|
2018-11-04 21:34:53 +01:00
|
|
|
E203
|
2018-11-04 21:07:25 +01:00
|
|
|
# Multiple spaces before operator
|
|
|
|
|
E221
|
2018-11-11 17:50:01 +01:00
|
|
|
# Multiple spaces after operand
|
|
|
|
|
E222
|
2018-11-04 21:07:25 +01:00
|
|
|
# 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
|
2018-12-09 14:17:51 +01:00
|
|
|
D100
|
2018-11-04 21:34:53 +01:00
|
|
|
# Missing docstring in public class
|
2018-12-09 14:17:51 +01:00
|
|
|
D101
|
|
|
|
|
# Missing docstring in public method
|
|
|
|
|
D102
|
|
|
|
|
# Missing docstring in public function
|
|
|
|
|
D103
|
2018-11-04 21:34:53 +01:00
|
|
|
# Missing docstring on __init__
|
|
|
|
|
D107
|
2018-11-15 22:16:16 +01:00
|
|
|
# No blank lines allowed after function docstring
|
|
|
|
|
D202
|
2018-11-11 17:50:01 +01:00
|
|
|
# First line should be in imperative mood
|
|
|
|
|
D401
|
2018-11-04 21:34:53 +01:00
|
|
|
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-12-09 18:30:55 +01:00
|
|
|
current_version = v201812.0011-beta
|
2018-09-02 21:48:12 +02:00
|
|
|
commit = True
|
|
|
|
|
tag = True
|
2018-12-05 09:37:34 +01:00
|
|
|
push = True
|
2018-09-02 21:48:12 +02:00
|
|
|
|
2018-12-05 09:37:34 +01:00
|
|
|
[pycalver:file_patterns]
|
2018-12-05 09:42:26 +01:00
|
|
|
bootstrapit.sh =
|
|
|
|
|
PACKAGE_VERSION="{version}"
|
|
|
|
|
setup.cfg =
|
2018-12-05 09:37:34 +01:00
|
|
|
current_version = {version}
|
2018-12-05 09:42:26 +01:00
|
|
|
setup.py =
|
2018-09-02 23:36:57 +02:00
|
|
|
version="{pep440_version}"
|
2018-12-05 09:42:26 +01:00
|
|
|
src/pycalver/__init__.py =
|
2018-09-02 21:48:12 +02:00
|
|
|
__version__ = "{version}"
|
2018-12-05 09:42:26 +01:00
|
|
|
README.md =
|
2018-12-09 18:30:21 +01:00
|
|
|
[PyCalVer {version}]
|
|
|
|
|
https://img.shields.io/badge/PyCalVer-{calver}{build}-{release}-blue.svg
|