From 98e0d3700782291c50d0dcf93368a37e0592a43b Mon Sep 17 00:00:00 2001 From: Preocts Date: Fri, 30 May 2025 03:07:30 -0400 Subject: [PATCH] Remove flake8 and mypy hooks from pre-commit These hooks cannot fix themselves which defeats the power of pre-commit both locally and in the ci. Both `flake8` and `mypy` checks are now handled by nox. They are available locally with `nox -s lint` and run in the CI as a requirable job. --- .pre-commit-config.yaml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9e5de32..beabc46 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,19 +30,3 @@ repos: rev: 25.1.0 hooks: - id: black - - # Flake8 for linting, line-length adjusted to match Black default - - repo: https://github.com/PyCQA/flake8 - rev: 7.1.2 - hooks: - - id: flake8 - additional_dependencies: - - flake8-builtins - - flake8-pep585 - - pep8-naming - - # Type enforcement for Python - - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.15.0 - hooks: - - id: mypy