Skip to content

Commit 9be65ec

Browse files
committed
updating project to use ruff
1 parent 939a774 commit 9be65ec

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
# See https://pre-commit.com for more information
2-
# See https://pre-commit.com/hooks.html for more hooks
3-
repos:
4-
- repo: https://github.com/ambv/black
5-
rev: 24.8.0
6-
hooks:
7-
- id: black
8-
language_version: python3
9-
- repo: https://github.com/pre-commit/pre-commit-hooks
10-
rev: v2.0.0
11-
hooks:
12-
- id: flake8
1+
repos:
2+
- repo: https://github.com/astral-sh/ruff-pre-commit
3+
# Ruff version.
4+
rev: v0.9.3
5+
hooks:
6+
# Run the linter.
7+
- id: ruff
8+
args: [ --fix ]
9+
# Run the formatter.
10+
- id: ruff-format

0 commit comments

Comments
 (0)