From f62129afdaabf63dad655adef95b3adef01a80c3 Mon Sep 17 00:00:00 2001 From: Vito Sansevero Date: Fri, 1 Aug 2025 11:02:44 -0700 Subject: [PATCH] fix: update pre-commit config to use line-length 88 - Update black line-length from 127 to 88 to match pyproject.toml - Update flake8 max-line-length from 127 to 88 for consistency - Remove broken pre-commit hook that was referencing non-existent pyenv --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index da87bdd..aa18d14 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,14 +8,14 @@ repos: hooks: - id: black language_version: python3.10 - args: ['--line-length=127'] # Match CI configuration + args: ['--line-length=88'] # Match CI configuration # Python linting with flake8 - repo: https://github.com/pycqa/flake8 rev: 7.3.0 hooks: - id: flake8 - args: ['--max-line-length=127', '--max-complexity=10'] + args: ['--max-line-length=88', '--max-complexity=10'] exclude: '^tests/' # Python type checking with mypy