From 0270b88d5310ee55f41b91a1fef53255b1135911 Mon Sep 17 00:00:00 2001 From: Mergen Nachin Date: Mon, 6 Jan 2025 18:02:26 -0500 Subject: [PATCH] Fix mypy lintrunner --- .lintrunner.toml | 1 + docs/source/conf.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.lintrunner.toml b/.lintrunner.toml index 35117b714a6..fe8ecad1fc8 100644 --- a/.lintrunner.toml +++ b/.lintrunner.toml @@ -321,6 +321,7 @@ command = [ '--config=.mypy.ini', '--show-disable', '--', + '--explicit-package-bases', '@{{PATHSFILE}}' ] init_command = [ diff --git a/docs/source/conf.py b/docs/source/conf.py index c497c4d0238..a3c8baacb05 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -197,7 +197,7 @@ # Custom directives defintions to create cards on main landing page -from custom_directives import ( +from custom_directives import ( # type: ignore[import-not-found] CustomCardEnd, CustomCardItem, CustomCardStart,