You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
657 B
26 lines
657 B
repos:
|
|
- repo: https://github.com/psf/black
|
|
rev: 24.3.0 # Use the latest revision of Black
|
|
hooks:
|
|
- id: black
|
|
language_version: python3
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.5.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: fix-encoding-pragma
|
|
args: [--remove]
|
|
- id: check-yaml
|
|
- id: debug-statements
|
|
language_version: python3
|
|
- repo: local
|
|
hooks:
|
|
- id: pytest
|
|
name: pytest
|
|
entry: python run_pytest.py
|
|
language: system
|
|
types: [python]
|
|
pass_filenames: false
|
|
always_run: true
|