remove unused imports automatically (#4449)

* remove unused imports automatically

* add linters to pr template

* remove useless try statement
This commit is contained in:
merwanehamadi
2023-05-28 05:50:50 -07:00
committed by GitHub
parent 78774526f4
commit ee9f10a8d8
33 changed files with 28 additions and 70 deletions

View File

@@ -6,15 +6,8 @@ import yaml
from colorama import Fore, Style
from git.repo import Repo
from autogpt.logs import logger
# Use readline if available (for clean_input)
try:
import readline
except ImportError:
pass
from autogpt.config import Config
from autogpt.logs import logger
def batch(iterable, max_batch_length: int, overlap: int = 0):