mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-23 17:04:21 +01:00
remove unused imports automatically (#4449)
* remove unused imports automatically * add linters to pr template * remove useless try statement
This commit is contained in:
@@ -1,19 +1,11 @@
|
||||
from typing import Any, Dict, List, Optional, Tuple
|
||||
|
||||
import pytest
|
||||
|
||||
from autogpt.models.base_open_ai_plugin import (
|
||||
BaseOpenAIPlugin,
|
||||
Message,
|
||||
PromptGenerator,
|
||||
)
|
||||
from autogpt.models.base_open_ai_plugin import BaseOpenAIPlugin
|
||||
|
||||
|
||||
class DummyPlugin(BaseOpenAIPlugin):
|
||||
"""A dummy plugin for testing purposes."""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def dummy_plugin():
|
||||
|
||||
Reference in New Issue
Block a user