Skip to content

Commit

Permalink
Add ruff to pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
tsterbak committed Feb 7, 2024
1 parent bea9175 commit edbb098
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ repos:
- id: black
language_version: python3.10

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.1
hooks:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format

- repo: https://github.com/python-poetry/poetry
rev: 1.6.1
hooks:
Expand Down

0 comments on commit edbb098

Please sign in to comment.