Commit 3a97f4d
fix: exclude _generated.py from black pre-commit hook
The schema validation CI was failing because pre-commit's black hook was
reformatting the generated _generated.py file, splitting single-line imports
into multi-line format.
The file was already excluded in pyproject.toml but pre-commit hooks need
their own exclude patterns. Added explicit exclude pattern to prevent black
from reformatting this auto-generated file.
Also updated consolidate_exports.py to attempt running black (for local
development) but this is now a no-op since black is configured to skip the file.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent dd3cc4e commit 3a97f4d
File tree
3 files changed
+116
-476
lines changed- scripts
- src/adcp/types
3 files changed
+116
-476
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
257 | 259 | | |
258 | 260 | | |
259 | 261 | | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
260 | 278 | | |
261 | 279 | | |
262 | 280 | | |
| |||
0 commit comments