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
```
This commit is contained in:
Paul Gauthier 2024-05-18 19:15:49 -07:00
parent ba46cb6b6c
commit c494f507c5

View file

@ -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)