mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
Remove unused imports in linter.py
This commit is contained in:
parent
5edce8ae1b
commit
167abdf851
1 changed files with 0 additions and 4 deletions
|
@ -1,12 +1,9 @@
|
||||||
import io
|
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import runpy
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
import traceback
|
import traceback
|
||||||
import warnings
|
import warnings
|
||||||
from contextlib import redirect_stdout
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
@ -51,7 +48,6 @@ class Linter:
|
||||||
)
|
)
|
||||||
stdout, _ = process.communicate()
|
stdout, _ = process.communicate()
|
||||||
errors = stdout.decode()
|
errors = stdout.decode()
|
||||||
dump(errors)
|
|
||||||
if process.returncode == 0:
|
if process.returncode == 0:
|
||||||
return # zero exit status
|
return # zero exit status
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue