diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b37f8a1..42f6c3b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -129,8 +129,8 @@ jobs: run: pdm show - - name: Security scan - run: pdm run scan + - name: Security Audit + run: pdm run audit - name: Check code style diff --git a/pyproject.toml b/pyproject.toml index cbb131e..ccc2fd3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -79,7 +79,7 @@ compile.env = {PYTHONHASHSEED = "1", SOURCE_DATE_EPOCH = "0"} # https://pyinstal debug = "python -m pdb -m kleinanzeigen_bot" format = "autopep8 --recursive --in-place src tests --verbose" lint = {shell = "pylint -v src tests && autopep8 -v --exit-code --recursive --diff src tests && mypy" } -scan = "bandit -c pyproject.toml -r src" +audit = "bandit -c pyproject.toml -r src" test = "python -m pytest --capture=tee-sys -v" utest = "python -m pytest --capture=tee-sys -v -m 'not itest'" itest = "python -m pytest --capture=tee-sys -v -m 'itest'"