code quality in place
This commit is contained in:
parent
d55382d16f
commit
d2fc802ef9
1 changed files with 7 additions and 0 deletions
|
|
@ -18,6 +18,13 @@ repos:
|
||||||
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
|
- id: mypy
|
||||||
|
name: mypy
|
||||||
|
entry: bash -c 'cd backend && uv run mypy .'
|
||||||
|
language: system
|
||||||
|
files: ^backend/.*\.py$
|
||||||
|
pass_filenames: false
|
||||||
|
|
||||||
- id: eslint
|
- id: eslint
|
||||||
name: ESLint
|
name: ESLint
|
||||||
entry: npm run lint --prefix frontend
|
entry: npm run lint --prefix frontend
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue