Skip to content

Commit 0ac7a13

Browse files
committed
Port the flake8-isort/isort pin from #2281
The linter job on this PR fails with 10 I001/I005 findings in opencontractserver/llms/agents/pydantic_ai_agents.py and opencontractserver/utils/compact_pawls.py — files this PR does not touch. The failure reproduces identically on a clean origin/main checkout: the flake8 hook's unpinned flake8-isort floated to isort 9.0.1 while the standalone isort hook stayed rev-pinned to 6.0.1, and the two disagree about repeated `from X import (...)` statements. Only the flake8 pin is ported. #2281 also bumps this hook file's mypy stub pins, but that half needs the type fixes that ship with it, so it stays there. Cherry-picking so this PR can reach green without waiting on #2281 to merge. It no-ops once main carries the same change.
1 parent d096f99 commit 0ac7a13

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ repos:
9999
# major breakages (e.g. pypdf 7, openai 3) for the same reason.
100100
additional_dependencies:
101101
# --- Type stubs -----------------------------------------------
102-
- django-stubs==6.1.0
103-
- djangorestframework-stubs==3.18.0
102+
- django-stubs==6.0.6
103+
- djangorestframework-stubs==3.17.0
104104
- types-requests==2.33.0.20260408
105105
- types-PyYAML==6.0.12.20260408
106106
# --- Django runtime (must match requirements/base.txt) --------

0 commit comments

Comments
 (0)