Skip to content

Commit

Permalink
Run ruff then black in pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
SavageCore committed Sep 14, 2023
1 parent 472cda3 commit 2bc18c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install .
pip install pytest-qt==4.2.0
pip install pytest-qt>=4.2.0
# https://pytest-qt.readthedocs.io/en/latest/troubleshooting.html#github-actions
- name: Install libxkbcommon-x11-0 and other requirements
run: |
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
repos:
- repo: https://github.com/psf/black
rev: 23.9.1
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.289
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/psf/black
rev: 23.9.1
hooks:
- id: black

0 comments on commit 2bc18c3

Please sign in to comment.