consolidate readmes + mise config, add prek
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
[[repos]]
|
||||
repo = "https://github.com/pre-commit/pre-commit-hooks"
|
||||
rev = "v6.0.0"
|
||||
hooks = [
|
||||
{ id = "end-of-file-fixer" },
|
||||
{ id = "trailing-whitespace" },
|
||||
{ id = "check-yaml" },
|
||||
{ id = "check-toml" },
|
||||
{ id = "check-merge-conflict" },
|
||||
{ id = "check-added-large-files" },
|
||||
{ id = "debug-statements" },
|
||||
]
|
||||
|
||||
[[repos]]
|
||||
repo = "https://github.com/astral-sh/ruff-pre-commit"
|
||||
rev = "v0.15.13"
|
||||
|
||||
[[repos.hooks]]
|
||||
id = "ruff-check"
|
||||
args = ["--fix"]
|
||||
files = '^dnscms/.*\.py$'
|
||||
exclude = '/migrations/'
|
||||
|
||||
[[repos.hooks]]
|
||||
id = "ruff-format"
|
||||
files = '^dnscms/.*\.py$'
|
||||
exclude = '/migrations/'
|
||||
Reference in New Issue
Block a user