diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cedc3fe..903b6d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,8 +74,6 @@ jobs: pdm run lint - pdm run autopep8 -v --exit-code --recursive --diff kleinanzeigen_bot tests - - name: run unit tests run: | pdm run utest diff --git a/pyproject.toml b/pyproject.toml index 3332fc9..712b0c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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'"