This reintroduces a question into `arcade new`, which adds the ruff and pre-commit files into new toolkits that are aimed to be contributed back to Arcade AI. I use it in the toolkit building tutorial --------- Co-authored-by: Evan Tahler <evantahler@gmail.com>
18 lines
443 B
YAML
18 lines
443 B
YAML
files: ^.*/{{toolkit_name}}/.*
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: "v4.4.0"
|
|
hooks:
|
|
- id: check-case-conflict
|
|
- id: check-merge-conflict
|
|
- id: check-toml
|
|
- id: check-yaml
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.6.7
|
|
hooks:
|
|
- id: ruff
|
|
args: [--fix]
|
|
- id: ruff-format
|