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
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.
17 lines
415 B
YAML
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
|