Skip to content

Commit

Permalink
update requirements to fix ModuleNotFoundError
Browse files Browse the repository at this point in the history
  • Loading branch information
send18 committed Jul 22, 2023
1 parent 56ae937 commit a62c07d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.html
exclude: ^venv/ # exclude dir, e.g. (^foo/|^bar/)
Expand All @@ -20,3 +20,7 @@ repos:
hooks:
- id: isort
args: ['--profile', 'black']
exclude: >-
(?x)^(
.*__init__\.py$
)
8 changes: 4 additions & 4 deletions metagpt/roles/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
@File : __init__.py
"""

from metagpt.roles.role import Role
from metagpt.roles.architect import Architect
from metagpt.roles.customer_service import CustomerService
from metagpt.roles.engineer import Engineer
from metagpt.roles.product_manager import ProductManager
from metagpt.roles.project_manager import ProjectManager
from metagpt.roles.engineer import Engineer
from metagpt.roles.qa_engineer import QaEngineer
from metagpt.roles.role import Role
from metagpt.roles.sales import Sales
from metagpt.roles.seacher import Searcher
from metagpt.roles.sales import Sales
from metagpt.roles.customer_service import CustomerService
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ tenacity==8.2.2
tiktoken==0.3.3
tqdm==4.64.0
#unstructured[local-inference]
anthropic==0.3.6

0 comments on commit a62c07d

Please sign in to comment.