mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-02-06 23:04:30 +01:00
AutoGPT: Prevent the linter from breaking check_requirements.py
This commit is contained in:
@@ -4,7 +4,7 @@ import sys
|
||||
from importlib.metadata import version
|
||||
|
||||
try:
|
||||
import poetry.factory
|
||||
import poetry.factory # noqa
|
||||
except ModuleNotFoundError:
|
||||
os.system(f"{sys.executable} -m pip install 'poetry>=1.6.1,<2.0.0'")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user