mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 18:41:50 +01:00
improve lint config
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -74,8 +74,6 @@ jobs:
|
|||||||
|
|
||||||
pdm run lint
|
pdm run lint
|
||||||
|
|
||||||
pdm run autopep8 -v --exit-code --recursive --diff kleinanzeigen_bot tests
|
|
||||||
|
|
||||||
- name: run unit tests
|
- name: run unit tests
|
||||||
run: |
|
run: |
|
||||||
pdm run utest
|
pdm run utest
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ dev = [
|
|||||||
app = "python -m kleinanzeigen_bot"
|
app = "python -m kleinanzeigen_bot"
|
||||||
compile = "python -O -m PyInstaller pyinstaller.spec --clean"
|
compile = "python -O -m PyInstaller pyinstaller.spec --clean"
|
||||||
format = "autopep8 --recursive --in-place kleinanzeigen_bot tests"
|
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"
|
scan = "bandit -c pyproject.toml -r kleinanzeigen_bot"
|
||||||
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'"
|
||||||
|
|||||||
Reference in New Issue
Block a user