Skip to content

Commit

Permalink
chore: switch to ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
rmnldwg committed Aug 7, 2024
1 parent 85b0d6e commit f18aeb1
Show file tree
Hide file tree
Showing 3 changed files with 212 additions and 175 deletions.
22 changes: 10 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/hadialqattan/pycln
rev: v2.3.0
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.6
hooks:
- id: pycln
args: [--config=pyproject.toml]
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
files: "\\.(py)$"
args: [--settings-path=pyproject.toml]
- id: ruff
args: [ --fix ]
- id: ruff-format
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v2.1.1
rev: v3.4.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
Expand Down
Loading

0 comments on commit f18aeb1

Please sign in to comment.