Skip to content

Commit

Permalink
add ruff to pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
KedoKudo committed Feb 15, 2024
1 parent 924780f commit 0966ac4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@ repos:
- id: check-merge-conflict
- id: end-of-file-fixer
- id: sort-simple-yaml
- repo: https://github.com/psf/black
rev: 23.3.0
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.1
hooks:
- id: black
args: ['--line-length=119']
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
exclude: "tests/cis_tests/.*"
- id: ruff-format
exclude: "tests/cis_tests/.*"
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.31.0
hooks:
Expand Down

0 comments on commit 0966ac4

Please sign in to comment.