Skip to content

Commit 88c18e2

Browse files
committed
adding pre-commit config file for lint action
1 parent 0e21a83 commit 88c18e2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.pre-commit-config.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
repos:
2+
- repo: https://github.com/astral-sh/ruff-pre-commit
3+
rev: v0.1.6
4+
hooks:
5+
- id: ruff
6+
args:
7+
- --fix
8+
- id: ruff-format
9+
- repo: https://github.com/pre-commit/pre-commit-hooks
10+
rev: v4.5.0
11+
hooks:
12+
- id: end-of-file-fixer
13+
- id: trailing-whitespace

0 commit comments

Comments
 (0)