36 lines
880 B
YAML
36 lines
880 B
YAML
ci:
|
|
skip:
|
|
- unittest
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: check-yaml
|
|
name: check-yaml for mkdocs.yml
|
|
files: ^mkdocs\.yml$
|
|
args: [--unsafe]
|
|
- id: check-yaml
|
|
name: check-yaml for other YAML files
|
|
exclude: ^mkdocs\.yml$
|
|
- id: check-added-large-files
|
|
- repo: https://github.com/psf/black
|
|
rev: 24.10.0
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.13.2
|
|
hooks:
|
|
- id: isort
|
|
name: isort (python)
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: unittest
|
|
name: unittest
|
|
entry: python -m unittest discover
|
|
language: system
|
|
'types': [python]
|
|
args: ["-p '*test.py'"] # Probably this option is absolutely not needed.
|
|
pass_filenames: false
|