Use uv to manage requirements

This commit is contained in:
Sonny Bakker 2024-08-30 21:05:55 +02:00
parent e95c2a440e
commit a041d5f7fa
15 changed files with 998 additions and 1334 deletions

View file

@ -3,12 +3,12 @@ python-linting:
image: python:3.11
before_script:
- pip install uv
- uv pip install --system --requirement requirements/ci.txt
- uv sync --extra testing --extra ci
script:
- isort --check-only src/
- black --line-length 88 --check src/
- ./.venv/bin/isort --check-only src/
- ./.venv/bin/black --line-length 88 --check src/
- |
autoflake --check \
./.venv/bin/autoflake --check \
--recursive \
--remove-all-unused-imports \
--ignore-init-module-imports \