improve lint config

This commit is contained in:
sebthom
2022-02-16 20:54:30 +01:00
parent 81a1b79226
commit 8e132d658e
2 changed files with 1 additions and 3 deletions

View File

@@ -70,7 +70,7 @@ dev = [
app = "python -m kleinanzeigen_bot"
compile = "python -O -m PyInstaller pyinstaller.spec --clean"
format = "autopep8 --recursive --in-place kleinanzeigen_bot tests"
lint = "pylint -v kleinanzeigen_bot tests"
lint = {shell = "pylint -v kleinanzeigen_bot tests && autopep8 -v --exit-code --recursive --diff kleinanzeigen_bot tests"}
scan = "bandit -c pyproject.toml -r kleinanzeigen_bot"
test = "python -m pytest --capture=tee-sys -v"
utest = "python -m pytest --capture=tee-sys -v -m 'not itest'"