Update pre-commit with pytest

This commit is contained in:
Benoît Seignovert 2024-02-08 14:59:23 +01:00
parent cd7f187d68
commit e78d20787a
Signed by: Benoît Seignovert
GPG key ID: F5D8895227D18A0B

View file

@ -8,3 +8,11 @@ repos:
args: [ --fix ] args: [ --fix ]
# Run the formatter. # Run the formatter.
- id: ruff-format - id: ruff-format
- repo: local
hooks:
- id: pytest
name: pytest
entry: .venv/bin/pytest
language: script
files: \.py$