initial import

This commit is contained in:
sebthom
2022-01-11 13:45:20 +01:00
parent be5621d7ba
commit 1ceccc48dc
20 changed files with 2435 additions and 1 deletions

54
pyproject.toml Normal file
View File

@@ -0,0 +1,54 @@
# https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/
#####################
# bandit https://github.com/PyCQA/bandit
#####################
[tool.bandit]
exclude = ["*/.eggs/*"] # broken :-( https://github.com/PyCQA/bandit/issues/657
#####################
# pylint
#####################
[tool.pylint.master]
extension-pkg-whitelist = "win32api"
ignore = "version.py"
jobs = 4
persistent = "no"
[tool.pylint.basic]
good-names = ["i", "j", "k", "v", "by", "ex", "fd", "_"]
[tool.pylint.format]
# https://pylint.pycqa.org/en/latest/technical_reference/features.html#format-checker
max-line-length = 160
[tool.pylint.logging]
logging-modules = "logging"
[tool.pylint.messages_control]
# https://pylint.pycqa.org/en/latest/technical_reference/features.html#messages-control-options
disable= [
"bare-except",
"missing-docstring",
"multiple-imports",
"multiple-statements",
"no-self-use"
]
[tool.pylint.miscelaneous]
notes = [ "FIXME", "XXX", "TODO" ]
[tool.pylint.design]
max-attributes = 10
max-branches = 20
max-locals = 30
max-returns = 10
max-statements = 70
#####################
# pytest
#####################
[tool.pytest.ini_options]
#https://docs.pytest.org/en/stable/reference.html#confval-addopts
addopts = "-p no:cacheprovider --doctest-modules --ignore=kleinanzeigen_bot/__main__.py"