From c494f507c5969c9b42b67a9e15f05e3c73e1633e Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 18 May 2024 19:15:49 -0700 Subject: [PATCH] aider: Removed unused import statement for `dump` from `aider/linter.py`. # Aider chat conversation: USER: # Running: /Users/gauthier/Projects/aider/tmp.sh aider/linter.py aider/linter.py aider/linter.py:11:1: F401 'aider.dump.dump' imported but unused from aider.dump import dump ^ ASSISTANT: To resolve the unused import warning, we need to remove the import statement for `dump` from `aider/linter.py`. Here is the *SEARCH/REPLACE* block: aider/linter.py ```python <<<<<<< SEARCH from aider.dump import dump ======= >>>>>>> REPLACE ``` --- aider/linter.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/aider/linter.py b/aider/linter.py index 102f4d6a5..d055b30ce 100644 --- a/aider/linter.py +++ b/aider/linter.py @@ -8,8 +8,6 @@ from pathlib import Path from grep_ast import TreeContext, filename_to_lang from tree_sitter_languages import get_parser # noqa: E402 -from aider.dump import dump - # tree_sitter is throwing a FutureWarning warnings.simplefilter("ignore", category=FutureWarning)