diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3cf8ed0..99f0901 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,8 @@ repos: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - - id: check-added-large-files + - id: check-json + - id: check-toml - id: check-merge-conflict - id: detect-private-key @@ -16,18 +17,17 @@ repos: args: [--fix, --exit-non-zero-on-fix] - id: ruff-format - - repo: local + - repo: https://github.com/psf/black + rev: 23.12.1 hooks: - - id: flake8 - name: flake8 - entry: uv run flake8 - language: system - types: [python] - args: [--count, --show-source, --statistics] + - id: black + language_version: python3.11 - - id: pytest - name: pytest - entry: uv run pytest -q - language: system - types: [python] - pass_filenames: false + - repo: https://github.com/pre-commit/mirrors-mypy + rev: v1.8.0 + hooks: + - id: mypy + additional_dependencies: + - types-requests + - types-PyYAML + args: [--ignore-missing-imports, --no-strict-optional]