You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
351 B
13 lines
351 B
name: Python code lint and formatting with ruff
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
ruff:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
# ruff version should be kept in sync with .pre-commit-config.yaml
|
|
- run: pip install --user ruff==0.1.3
|
|
- run: ruff check --output-format=github .
|
|
- run: ruff format --diff .
|
|
|