From 6449806b9de3156609617d7971351f934505c101 Mon Sep 17 00:00:00 2001 From: Paul Natsuo Kishimoto Date: Tue, 14 Jan 2025 09:32:18 +0100 Subject: [PATCH] Bump mypy, ruff versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Mypy v1.12.0 → v1.14.1 - Add suggested config per python/mypy#13916 - Ruff v0.6.9 → v0.9.1 --- .pre-commit-config.yaml | 6 +++--- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5cb1a15..1dd330c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,17 +1,17 @@ repos: - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.12.0 + rev: v1.14.1 hooks: - id: mypy + pass_filenames: false additional_dependencies: - GitPython - lxml-stubs - pytest - sdmx1 - starlette - args: [] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.9 + rev: v0.9.1 hooks: - id: ruff - id: ruff-format diff --git a/pyproject.toml b/pyproject.toml index 3d940ad..ac7136e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,7 +62,7 @@ omit = ["dsss/storage/google_cloud_storage.py"] version.source = "versioningit" [tool.mypy] -exclude = ["^build/"] +files = ["conftest.py", "doc", "dsss"] [[tool.mypy.overrides]] # Packages for which no type hints are available