Use ruff for formatting/linting
This commit is contained in:
parent
bb74e875e0
commit
57375591b5
36 changed files with 241 additions and 245 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue