From 167abdf851f5e6b74914e24cad48154d82b38f3b Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Mon, 29 Jul 2024 20:28:51 -0300 Subject: [PATCH] Remove unused imports in linter.py --- aider/linter.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/aider/linter.py b/aider/linter.py index 535efb82f..0e5570a43 100644 --- a/aider/linter.py +++ b/aider/linter.py @@ -1,12 +1,9 @@ -import io import os import re -import runpy import subprocess import sys import traceback import warnings -from contextlib import redirect_stdout from dataclasses import dataclass from pathlib import Path @@ -51,7 +48,6 @@ class Linter: ) stdout, _ = process.communicate() errors = stdout.decode() - dump(errors) if process.returncode == 0: return # zero exit status