Use ruff for formatting/linting

This commit is contained in:
Sonny Bakker 2024-09-05 06:58:35 +02:00
parent bb74e875e0
commit 57375591b5
36 changed files with 241 additions and 245 deletions

View file

@ -5,14 +5,8 @@ python-linting:
- pip install uv
- uv sync --extra testing --extra ci
script:
- ./.venv/bin/isort --check-only src/
- ./.venv/bin/black --line-length 88 --check src/
- |
./.venv/bin/autoflake --check \
--recursive \
--remove-all-unused-imports \
--ignore-init-module-imports \
src/
- ./.venv/bin/ruff --check src/
- ./.venv/bin/ruff format --check src/
only:
refs:
- development