773570b1ec
* fix changelog * narrow pre-commit steps to particular files
34 lines
821 B
YAML
34 lines
821 B
YAML
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: lint-py-fix
|
|
name: Fix Python Lint
|
|
entry: hatch run lint-py
|
|
language: system
|
|
args: [--fix]
|
|
pass_filenames: false
|
|
files: \.py$
|
|
- repo: local
|
|
hooks:
|
|
- id: lint-js-fix
|
|
name: Fix JS Lint
|
|
entry: hatch run lint-js --fix
|
|
language: system
|
|
pass_filenames: false
|
|
files: \.(js|jsx|ts|tsx)$
|
|
- repo: local
|
|
hooks:
|
|
- id: lint-py-check
|
|
name: Check Python Lint
|
|
entry: hatch run lint-py
|
|
language: system
|
|
pass_filenames: false
|
|
files: \.py$
|
|
- repo: local
|
|
hooks:
|
|
- id: lint-js-check
|
|
name: Check JS Lint
|
|
entry: hatch run lint-py
|
|
language: system
|
|
pass_filenames: false
|
|
files: \.(js|jsx|ts|tsx)$
|