🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
Update requirements to fix ModuleNotFoundError
hongjiongteng9e15a2ca6e9e
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 7684516ba..574ff87dc 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -10,7 +10,7 @@ repos:"--show-source","--count","--statistics",- "--extend-ignore=E203,E402,C901,E501,E101,E266,E731,W291,F821,W191",+ "--extend-ignore=E203,E402,C901,E501,E101,E266,E731,W291,F821,W191,E122,E125,E127,E128,W293","--per-file-ignores=__init__.py:F401",] # when necessary, ignore errors, https://flake8.pycqa.org/en/latest/user/error-codes.htmlexclude: ^venv/ # exclude dir, e.g. (^foo/|^bar/)@@ -20,3 +20,7 @@ repos:hooks:- id: isortargs: ['--profile', 'black']+ exclude: >-+ (?x)^(+ .*__init__\.py$+ )diff --git a/metagpt/roles/__init__.py b/metagpt/roles/__init__.pyindex 46f9d727b..b1911df06 100644--- a/metagpt/roles/__init__.py+++ b/metagpt/roles/__init__.py@@ -6,12 +6,12 @@@File : __init__.py"""+from metagpt.roles.role import Rolefrom metagpt.roles.architect import Architect-from metagpt.roles.customer_service import CustomerService-from metagpt.roles.engineer import Engineerfrom metagpt.roles.product_manager import ProductManagerfrom metagpt.roles.project_manager import ProjectManager+from metagpt.roles.engineer import Engineerfrom metagpt.roles.qa_engineer import QaEngineer-from metagpt.roles.role import Role-from metagpt.roles.sales import Salesfrom metagpt.roles.seacher import Searcher+from metagpt.roles.sales import Sales+from metagpt.roles.customer_service import CustomerServicediff --git a/requirements.txt b/requirements.txtindex bb53aedfe..a561a553b 100644--- a/requirements.txt+++ b/requirements.txt@@ -29,3 +29,4 @@ tenacity==8.2.2tiktoken==0.3.3tqdm==4.64.0#unstructured[local-inference]+anthropic==0.3.6