fix: filter more flask

This commit is contained in:
Florian Hönicke
2023-05-26 14:39:34 +02:00
parent b80ae6f3ab
commit 825ee95e7b
3 changed files with 2 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ BLACKLISTED_PACKAGES = [
'clearbit' # because of installation issues on latest version 'clearbit' # because of installation issues on latest version
] ]
UNNECESSARY_PACKAGES = [ 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 = [ LANGUAGE_PACKAGES = [

View File

@@ -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 train a model.
The implemented function and the test must not contain prototype or placeholder implementations. 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 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 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 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.''' The implemented function must follow a clean and elegant coding style.'''

View File

@@ -22,7 +22,7 @@ def test_package_parsing():
def test_package_parsing_blacklist(): def test_package_parsing_blacklist():
packages_json_string = '''\ packages_json_string = '''\
[ [
["Flask"], ["Flask, flask_restful, flask_json"],
[], [],
[] []
]''' ]'''