Skip to content

Commit

Permalink
Add ruff to git hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Mar 2, 2023
1 parent b711cc9 commit db64d61
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,16 @@ repos:
args: [--markdown-linebreak-ext=md]

- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.1.0
hooks:
- id: black

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.253"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
Expand All @@ -39,6 +45,6 @@ repos:
args: ["--config=setup.cfg", "--select=E9,F63,F7,F82"]

ci:
autoupdate_schedule: quarterly
skip: []
submodules: false
autoupdate_schedule: quarterly
skip: []
submodules: false

0 comments on commit db64d61

Please sign in to comment.