mirror of
https://github.com/nikdoof/smsbot.git
synced 2025-12-13 10:02:15 +00:00
fix(build): Install the environment as part of linting
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
version: 3
|
||||
tasks:
|
||||
python:env:
|
||||
cmds:
|
||||
- poetry install --with=dev,github
|
||||
python:lint:
|
||||
desc: Lint Python files
|
||||
deps:
|
||||
- python:env
|
||||
cmds:
|
||||
- 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 .
|
||||
|
||||
Reference in New Issue
Block a user