Skip to content

Commit edbb098

Browse files
committed
Add ruff to pre-commit hooks
1 parent bea9175 commit edbb098

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ repos:
2323
- id: black
2424
language_version: python3.10
2525

26+
- repo: https://github.com/astral-sh/ruff-pre-commit
27+
rev: v0.2.1
28+
hooks:
29+
# Run the linter.
30+
- id: ruff
31+
# Run the formatter.
32+
- id: ruff-format
33+
2634
- repo: https://github.com/python-poetry/poetry
2735
rev: 1.6.1
2836
hooks:

0 commit comments

Comments
 (0)