36 lines
No EOL
912 B
YAML
36 lines
No EOL
912 B
YAML
repos:
|
|
# - repo: local
|
|
# hooks:
|
|
# - id: whitespace
|
|
# name: strip whitespace
|
|
# entry: ./strip_whitespace.sh
|
|
# language: system
|
|
# always_run: true
|
|
# pass_filenames: false
|
|
|
|
# - id: mypy
|
|
# name: mypy
|
|
# entry: mypy pytest_abra/
|
|
# language: system
|
|
# always_run: true
|
|
# pass_filenames: false
|
|
# - id: tests
|
|
# name: run all tests that are not marked slow
|
|
# entry: pytest -m "not slow"
|
|
# language: system
|
|
# always_run: true
|
|
# pass_filenames: false
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: '' # Use the sha / tag you want to point at
|
|
hooks:
|
|
- id: mypy
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
# Ruff version.
|
|
rev: v0.1.7
|
|
hooks:
|
|
# Run the linter.
|
|
- id: ruff
|
|
# Run the formatter.
|
|
- id: ruff-format |