Skip to content

Commit

Permalink
chore: Migrate to Ruff (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
lefcha authored Feb 20, 2024
1 parent c0aa60c commit 805db8b
Show file tree
Hide file tree
Showing 5 changed files with 176 additions and 163 deletions.
20 changes: 7 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,14 @@ repos:
- id: check-case-conflict
- id: debug-statements

- repo: https://github.com/psf/black
rev: 23.7.0
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.13
hooks:
- id: black

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort

- repo: https://github.com/pycqa/flake8
rev: 6.1.0
hooks:
- id: flake8
# Run the linter
- id: ruff
args: ['--fix']
# Run the formatter
- id: ruff-format

- repo: local
hooks:
Expand Down
167 changes: 28 additions & 139 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 805db8b

Please sign in to comment.