added-pre-commit-configuration (#1782)

This commit is contained in:
dbcontributions
2024-09-01 02:11:07 +05:30
committed by GitHub
parent 077d0c47f9
commit 462aaebd6c

16
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,16 @@
repos:
- repo: local
hooks:
- id: ruff
name: Ruff
entry: ruff
language: system
types: [python]
args: [--fix]
- id: isort
name: isort
entry: isort
language: system
types: [python]
args: ["--profile", "black"]