Skip to content

Commit

Permalink
Refactor ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris committed May 13, 2024
1 parent f166341 commit bbe36cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
python-version: '3.9'

- name: Install ruff
run: pip install ruff
run: pip install ruff==0.4.4

- name: Run ruff format checker
run: ruff format --check --config pyproject.toml
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ repos:


- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.1
rev: v0.4.4
hooks:
# These will fail the linting github action if the files are not formatted correctly
# These will fail the linting GitHub action if the files are not formatted correctly
- id: ruff-format
args:
- '--config=pyproject.toml'
Expand Down

0 comments on commit bbe36cc

Please sign in to comment.