dump-things-service/.forgejo/workflows/ruff.yml
Michael Hanke 0534a14e94
Some checks failed
Codespell / Check for spelling errors (push) Successful in 38s
Codespell / Check for spelling errors (pull_request) Successful in 40s
Ruff / Code linting (pull_request) Failing after 47s
Ruff / Code linting (push) Failing after 49s
Test execution / Test-all (push) Successful in 1m24s
ci: add code linting workflow
There is a substantial number of issues reported, even with the config
that was already present in `pyproject.toml`. This changeset only adds
the workflow. Fixing there issues needs to be done later, possibly in an
incremental fashion.
2026-06-30 20:04:26 +02:00

17 lines
415 B
YAML

name: Ruff
on: [push, pull_request]
jobs:
ruff:
name: Code linting
runs-on: debian-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Install hatch
run: uv tool install hatch
- name: Check code
run: hatch check code
- name: Check formatting
run: hatch check fmt