mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 02:31:45 +01:00
build: rename "scan" script to "audit"
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -129,8 +129,8 @@ jobs:
|
|||||||
run: pdm show
|
run: pdm show
|
||||||
|
|
||||||
|
|
||||||
- name: Security scan
|
- name: Security Audit
|
||||||
run: pdm run scan
|
run: pdm run audit
|
||||||
|
|
||||||
|
|
||||||
- name: Check code style
|
- name: Check code style
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ compile.env = {PYTHONHASHSEED = "1", SOURCE_DATE_EPOCH = "0"} # https://pyinstal
|
|||||||
debug = "python -m pdb -m kleinanzeigen_bot"
|
debug = "python -m pdb -m kleinanzeigen_bot"
|
||||||
format = "autopep8 --recursive --in-place src tests --verbose"
|
format = "autopep8 --recursive --in-place src tests --verbose"
|
||||||
lint = {shell = "pylint -v src tests && autopep8 -v --exit-code --recursive --diff src tests && mypy" }
|
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"
|
test = "python -m pytest --capture=tee-sys -v"
|
||||||
utest = "python -m pytest --capture=tee-sys -v -m 'not itest'"
|
utest = "python -m pytest --capture=tee-sys -v -m 'not itest'"
|
||||||
itest = "python -m pytest --capture=tee-sys -v -m 'itest'"
|
itest = "python -m pytest --capture=tee-sys -v -m 'itest'"
|
||||||
|
|||||||
Reference in New Issue
Block a user