Add ruff for lint & formatting checks; apply some suggested fixes #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
on: [push, pull_request] | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
# We use a standard Debian image to mirror a typical developer environment. | |
# This should be updated whenever a new Debian stable version is available. | |
container: debian:bullseye | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
apt-get update && apt-get install --yes --no-install-recommends make python3-pip | |
pip install -r test-requirements.txt | |
- name: Run lint check | |
run: | | |
make check-lint | |
- name: Run format check | |
run: | | |
make check-format |