screenshot-to-code/backend/.pre-commit-config.yaml
2024-02-23 15:26:09 -05:00

19 lines
527 B
YAML

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: local
hooks:
- id: poetry-pytest
name: Run pytest with Poetry
entry: cd backend && poetry run pytest
language: system
pass_filenames: false
always_run: true
files: ^backend/