From 023c63c06d2fb3245e505c30e8c8ec27f41b63c0 Mon Sep 17 00:00:00 2001 From: Vivek Aithal Date: Fri, 21 Jul 2023 18:36:51 -0700 Subject: [PATCH] Fix mypy path error (#29091) old-commit-hash: ee4fcff0c90954d825d1a428ae166a7f825115ce --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cd654e40c4..5736ca7ffc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,6 +32,7 @@ repos: entry: mypy language: system types: [python] + args: ['--explicit-package-bases'] exclude: '^(third_party/)|(cereal/)|(opendbc/)|(panda/)|(laika/)|(laika_repo/)|(rednose/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)|(xx/)' - repo: https://github.com/PyCQA/flake8 rev: 6.0.0