From ae5e89def85426acb151b16302fc9e4d89417ea1 Mon Sep 17 00:00:00 2001 From: CulmoneY Date: Thu, 21 Nov 2024 01:21:15 -0500 Subject: [PATCH] Removed print statements --- pyproject.toml | 1 + python_ta/checkers/static_type_checker.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9c027f926..b48c178f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,7 @@ requires-python = ">=3.9" dev = [ "hypothesis", "inflection", + "mypy", "myst-parser", "pre-commit", "pytest", diff --git a/python_ta/checkers/static_type_checker.py b/python_ta/checkers/static_type_checker.py index 19ce09955..bd6fdb74f 100644 --- a/python_ta/checkers/static_type_checker.py +++ b/python_ta/checkers/static_type_checker.py @@ -61,9 +61,7 @@ def __init__(self, linter: Optional["PyLinter"] = None) -> None: ) def visit_module(self, node: nodes.Module) -> None: """Run Mypy on the current module and collect type errors.""" - print("Visiting module") filename = node.file - print(f"Filename: {filename}") mypy_options = [ "--ignore-missing-imports", "--disable-error-code=call-arg",