fix type and config for tests

This commit is contained in:
Daniel 2023-12-11 01:44:02 +01:00
parent 8ba0121415
commit ba33d97c53
2 changed files with 14 additions and 25 deletions

View file

@ -1,30 +1,19 @@
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
# hooks:
# - id: tests
# name: run all tests that are not marked slow
# entry: python -m pytest -m "not slow"
# language: system
# language_version: default
# 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
args: [--ignore-missing-imports]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.7