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

@@ -18,7 +18,10 @@ warn_unused_configs = true
ignore_missing_imports = true
check_untyped_defs = false
disallow_untyped_defs = false
explicit_package_bases = true
mypy_path = "."
disable_error_code = [
"import-untyped",
"arg-type",
"attr-defined",
"union-attr",