bootstrapit updates

This commit is contained in:
Manuel Barkhau 2020-07-19 13:58:33 +00:00
parent e70c45403c
commit f1e17562b8
5 changed files with 251 additions and 26 deletions

View file

@ -12,6 +12,13 @@ strict_optional = True
ignore_missing_imports = True
show_error_codes = True
[tool:isort]
known_third_party = pathlib2
force_single_line = True
length_sort = True
line_length = 100
[flake8]
max-line-length = 100
max-complexity = 10
@ -48,6 +55,8 @@ ignore =
D102
# Missing docstring in public function
D103
# Missing docstring in public package
# D104
# Missing docstring in magic method
# D105
# Missing docstring on __init__
@ -97,3 +106,39 @@ README.md =
img.shields.io/static/v1.svg?label=PyCalVer&message={version}&color=blue
Successfully installed pycalver-{pep440_version}
pycalver, version {version}
[tool:pylint]
score = yes
# pylint-ignore only works with jobs = 1
jobs = 1
# Set the output format. Available formats are text, parseable, colorized,
# msvs (visual studio) and html. You can also give a reporter class, eg
# mypackage.mymodule.MyReporterClass.
output-format = colorized
# Maximum number of locals for function / method body
max-locals = 20
# Maximum number of arguments for function / method
max-args = 8
good-names = logger,i,ex
# These are packages that are implemented as c extensions and
# which pylint cannot do introspection on.
extension-pkg-whitelist = numpy,pandas,lxml,PIL,sklearn,pyblake2
notes=TODO,FIXME,XXX,SLOW,BUG
# https://pylint.pycqa.org/en/stable/technical_reference/features.html
disable =
bad-continuation,
bad-whitespace,
logging-fstring-interpolation,
missing-docstring,
missing-module-docstring,
missing-class-docstring,
missing-function-docstring,