Skip to content

Commit

Permalink
Format the source code with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
malor committed Nov 13, 2024
1 parent 98dbcca commit 5d31e5f
Show file tree
Hide file tree
Showing 10 changed files with 651 additions and 519 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,25 @@ jobs:
- uses: actions/checkout@v4
- uses: crate-ci/typos@v1.27.3

linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.13'

- name: Install pytest / Ruff
run: |
python -m pip install pytest ruff
- name: Run Python linter
run: |
ruff format --check
ruff check
test:
strategy:
matrix:
Expand Down
Loading

0 comments on commit 5d31e5f

Please sign in to comment.