Commit 8232433
authored
fix(ci+lint): unblock main + dependabot (#18)
Two preexisting issues kept CI red on main:
1) src/pitchcritic/extractor.py:47 had a 108-char line that ruff
E501 (max 100) was failing on. Hoisted the size_mb / max_mb
computations to locals so the f-string fits in 100 cols.
Message content is identical.
2) .pre-commit-config.yaml pinned `types-all` as a mypy
additional_dependency. `types-all` is yanked on PyPI and pulls
the broken `types-pkg-resources` placeholder, so pre-commit
install always fails. The repo's actual imports (anthropic,
fastapi, pdfplumber, pydantic, rich, typer) all ship inline
type info — no external stubs needed.
Net effect: main goes green; dependabot PR #17 (idna 3.11 to 3.15)
should auto-unblock once CI rebuilds.1 parent 5abfe79 commit 8232433
2 files changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments