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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user