add prek, tanuki
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[submodule "docs/themes/tanuki"]
|
||||||
|
path = docs/themes/tanuki
|
||||||
|
url = https://github.com/raskell-io/tanuki
|
||||||
@@ -1,7 +1,13 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.6.9 # latest ruff version
|
rev: v0.8.6
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
# Run the formatter
|
||||||
args: ["--fix"]
|
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
|
name: ruff format
|
||||||
|
types_or: [python, pyi, jupyter]
|
||||||
|
# Run the linter with auto-fix
|
||||||
|
- id: ruff
|
||||||
|
name: ruff check
|
||||||
|
args: [--fix]
|
||||||
|
types_or: [python, pyi, jupyter]
|
||||||
|
|||||||
1
docs/themes/tanuki
vendored
Submodule
1
docs/themes/tanuki
vendored
Submodule
Submodule docs/themes/tanuki added at f81db54c4e
Reference in New Issue
Block a user