Apply bootstrapit.sh

This commit is contained in:
Manuel Barkhau 2018-11-04 21:34:53 +01:00
parent 6416df7094
commit d951483a83
26 changed files with 1260 additions and 80 deletions

View file

@ -1,42 +1,59 @@
[flake8]
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
[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
[flake8]
max-line-length = 100
max-complexity = 10
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
# 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
# Hopefully this can be resolved, so D404, D405 start working
# https://github.com/PyCQA/pydocstyle/pull/188
[aliases]
test=pytest
[tool:pytest]
addopts = --verbose
python_files = test/*.py
addopts = --doctest-modules
[bdist_wheel]
universal = 1
[pycalver]
current_version = v201809.0002-beta
@ -55,7 +72,7 @@ patterns =
patterns =
__version__ = "{version}"
[pycalver:file:README.rst]
[pycalver:file:README.md]
patterns =
badge/CalVer-{calver}{build}-{release}-blue.svg
:alt: CalVer {version}
[PyCalVer {calver}{build}-{release}]
img.shields.io/badge/PyCalVer-{calver}{build}--{release}-blue