Skip to content

Commit 2f983d6

Browse files
committed
chore: added ruff to precommit.yml
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
1 parent 53ffed5 commit 2f983d6

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
repos:
22
- repo: https://github.com/gitleaks/gitleaks
3-
rev: v8.16.3
3+
rev: v8.30.0
44
hooks:
55
- id: gitleaks
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.4.0
7+
rev: v6.0.0
88
hooks:
99
- id: end-of-file-fixer
1010
- id: trailing-whitespace
11-
- repo: https://github.com/pylint-dev/pylint
12-
rev: v2.17.2
11+
- repo: https://github.com/astral-sh/ruff-pre-commit
12+
rev: v0.15.9
1313
hooks:
14-
- id: pylint
14+
- id: ruff-check
15+
- id: ruff-format

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ dev = [
4848
"grpcio-tools>=1.76.0,<2",
4949
"pytest>=8.3.4,<10",
5050
"pytest-cov>=7.0.0,<8",
51-
"hypothesis>=6.137.2"
51+
"hypothesis>=6.137.2",
52+
"pre-commit>=4.0.0",
5253
]
5354

5455
lint = [

0 commit comments

Comments
 (0)