From 0cb05741f90b3b441c62f72ed1c9045281f3a01d Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Thu, 7 Dec 2023 11:31:32 +0100 Subject: [PATCH] Exclude verioneer.py --- .pre-commit-config.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b4e72a9..687514d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -48,6 +48,7 @@ repos: rev: 6.1.0 hooks: - id: flake8 + exclude: ^versioneer.py additional_dependencies: [ flake8-blind-except, flake8-builtins, @@ -66,6 +67,7 @@ repos: rev: v1.6.1 hooks: - id: mypy + exclude: ^versioneer.py # This is for checking tests/* (everything else has a stricter check # below), but since there's no include it's run on everything @@ -77,7 +79,7 @@ repos: --disallow-untyped-defs, --ignore-missing-imports, ] - exclude: tests/ + exclude: ^versioneer.py,tests/ - repo: https://github.com/adrienverge/yamllint.git rev: v1.32.0