2023-06-13 19:07:22 +02:00
|
|
|
repos:
|
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: lint-py-fix
|
|
|
|
name: Fix Python Lint
|
|
|
|
entry: hatch run lint-py
|
|
|
|
language: system
|
2023-07-03 00:15:14 +02:00
|
|
|
args: [--fix]
|
2023-06-13 19:07:22 +02:00
|
|
|
pass_filenames: false
|
2023-07-04 07:48:37 +02:00
|
|
|
files: \.py$
|
2023-06-13 19:07:22 +02:00
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: lint-js-fix
|
|
|
|
name: Fix JS Lint
|
|
|
|
entry: hatch run lint-js --fix
|
|
|
|
language: system
|
|
|
|
pass_filenames: false
|
2023-07-04 07:48:37 +02:00
|
|
|
files: \.(js|jsx|ts|tsx)$
|
2023-07-03 00:15:14 +02:00
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: lint-py-check
|
|
|
|
name: Check Python Lint
|
|
|
|
entry: hatch run lint-py
|
|
|
|
language: system
|
|
|
|
pass_filenames: false
|
2023-07-04 07:48:37 +02:00
|
|
|
files: \.py$
|
2023-06-13 19:07:22 +02:00
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: lint-js-check
|
|
|
|
name: Check JS Lint
|
|
|
|
entry: hatch run lint-py
|
|
|
|
language: system
|
|
|
|
pass_filenames: false
|
2023-07-04 07:48:37 +02:00
|
|
|
files: \.(js|jsx|ts|tsx)$
|