fix: resolve pre-commit hook issues for mypy and root-level files

- Fix mypy duplicate module conflict by excluding python/commands/board.py
- Add import-untyped to mypy disabled error codes
- Use explicit_package_bases for proper module resolution
- Auto-format root-level download_jlcpcb.py and test-router.js

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Eugene Mikhantyev
2026-03-29 13:21:05 +01:00
parent dbbbde17ba
commit bc1e33b652
4 changed files with 118 additions and 87 deletions

View File

@@ -41,8 +41,8 @@ repos:
hooks:
- id: mypy
files: ^python/
exclude: ^python/commands/board\.py$
args: [--config-file=pyproject.toml]
pass_filenames: false
additional_dependencies: []
- repo: local