From ffaa5c8be46962d20731e4032300f134fb00e3c0 Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Fri, 23 Aug 2024 14:24:16 -0400 Subject: [PATCH] Review feedback --- pyproject.toml | 4 ++++ src/rapids_pre_commit_hooks/shell/__init__.py | 2 +- test/rapids_pre_commit_hooks/test_shell.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1b5b269..994bb5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,3 +67,7 @@ profile = "black" testpaths = [ "test", ] + +[[tool.mypy.overrides]] +module = "bashlex.*" +ignore_missing_imports = true diff --git a/src/rapids_pre_commit_hooks/shell/__init__.py b/src/rapids_pre_commit_hooks/shell/__init__.py index e70e701..15b407d 100644 --- a/src/rapids_pre_commit_hooks/shell/__init__.py +++ b/src/rapids_pre_commit_hooks/shell/__init__.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -import bashlex # type: ignore +import bashlex from ..lint import ExecutionContext, LintMain diff --git a/test/rapids_pre_commit_hooks/test_shell.py b/test/rapids_pre_commit_hooks/test_shell.py index 49db692..f5ddbf2 100644 --- a/test/rapids_pre_commit_hooks/test_shell.py +++ b/test/rapids_pre_commit_hooks/test_shell.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -import bashlex # type: ignore +import bashlex from rapids_pre_commit_hooks.lint import Linter from rapids_pre_commit_hooks.shell.verify_conda_yes import VerifyCondaYesVisitor