added-pre-commit-configuration (#1782)
This commit is contained in:
16
.pre-commit-config.yaml
Normal file
16
.pre-commit-config.yaml
Normal 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"]
|
||||||
Reference in New Issue
Block a user