Add pre-commit configuration
This commit is contained in:
18
.pre-commit-config.yaml
Normal file
18
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
default_install_hook_types:
|
||||
- pre-commit
|
||||
- commit-msg
|
||||
default_stages:
|
||||
- pre-commit
|
||||
- manual
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.14.2
|
||||
hooks:
|
||||
- id: ruff-check
|
||||
args: [ "--fix" ]
|
||||
|
||||
- repo: https://foundry.fsky.io/vel/ty-pre-commit
|
||||
rev: 0.0.1-alpha.25
|
||||
hooks:
|
||||
- id: ty-check
|
||||
Reference in New Issue
Block a user