mirror of
https://github.com/nikdoof/smsbot.git
synced 2025-12-17 19:59:28 +00:00
fix(build): Install the environment as part of linting
This commit is contained in:
@@ -1,7 +1,12 @@
|
|||||||
version: 3
|
version: 3
|
||||||
tasks:
|
tasks:
|
||||||
|
python:env:
|
||||||
|
cmds:
|
||||||
|
- poetry install --with=dev,github
|
||||||
python:lint:
|
python:lint:
|
||||||
desc: Lint Python files
|
desc: Lint Python files
|
||||||
|
deps:
|
||||||
|
- python:env
|
||||||
cmds:
|
cmds:
|
||||||
- poetry run ruff check --output-format=github --select=E9,F63,F7,F82 --target-version=py39 .
|
- poetry run ruff check --output-format=github --select=E9,F63,F7,F82 --target-version=py39 .
|
||||||
- poetry run ruff check --output-format=github --target-version=py39 .
|
- poetry run ruff check --output-format=github --target-version=py39 .
|
||||||
|
|||||||
Reference in New Issue
Block a user