mirror of
https://github.com/nikdoof/smsbot.git
synced 2025-12-24 07:09:27 +00:00
Migrate from Poetry to uv: update pyproject.toml, Taskfile, GitHub Actions, and Dockerfile
Co-authored-by: nikdoof <170514+nikdoof@users.noreply.github.com>
This commit is contained in:
@@ -2,14 +2,14 @@ version: 3
|
||||
tasks:
|
||||
python:env:
|
||||
cmds:
|
||||
- poetry install --with=dev,github
|
||||
- uv sync --extra dev --extra 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 .
|
||||
- uv run ruff check --output-format=github --select=E9,F63,F7,F82 --target-version=py39 .
|
||||
- uv run ruff check --output-format=github --target-version=py39 .
|
||||
|
||||
docker:build:
|
||||
desc: Build the container using Docker
|
||||
|
||||
Reference in New Issue
Block a user