diff --git a/dev_gpt/constants.py b/dev_gpt/constants.py index 06f194b..7aee40e 100644 --- a/dev_gpt/constants.py +++ b/dev_gpt/constants.py @@ -53,7 +53,7 @@ BLACKLISTED_PACKAGES = [ 'clearbit' # because of installation issues on latest version ] UNNECESSARY_PACKAGES = [ - 'flask', 'fastapi', 'uvicorn', 'starlette' # because the wrappers are used instead + 'flask', 'flask_restful', 'flask_json', 'fastapi', 'uvicorn', 'starlette' # because the wrappers are used instead ] LANGUAGE_PACKAGES = [ diff --git a/dev_gpt/options/generate/templates_user.py b/dev_gpt/options/generate/templates_user.py index 5004349..818b743 100644 --- a/dev_gpt/options/generate/templates_user.py +++ b/dev_gpt/options/generate/templates_user.py @@ -23,7 +23,6 @@ The implemented function and the test must not use a pre-trained model unless it The implemented function and the test must not train a model. The implemented function and the test must not contain prototype or placeholder implementations. The implemented function and the test must run in a docker container based on debian. -The implemented function and the test must not use libraries like Flask. The implemented function and the test must not have a __main__ function. The implemented function and the test must use gpt_3_5_turbo if the task requires the processing of language (e.g., understanding, generation, summarization, transformation, translation, modification or classification). Other language models are not allowed. The implemented function must follow a clean and elegant coding style.''' diff --git a/test/unit/test_packages.py b/test/unit/test_packages.py index af6c4ca..850a6fe 100644 --- a/test/unit/test_packages.py +++ b/test/unit/test_packages.py @@ -22,7 +22,7 @@ def test_package_parsing(): def test_package_parsing_blacklist(): packages_json_string = '''\ [ - ["Flask"], + ["Flask, flask_restful, flask_json"], [], [] ]'''