mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-19 22:54:21 +01:00
⏪ fix: filter more flask
This commit is contained in:
@@ -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 = [
|
||||||
|
|||||||
@@ -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.'''
|
||||||
|
|||||||
@@ -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"],
|
||||||
[],
|
[],
|
||||||
[]
|
[]
|
||||||
]'''
|
]'''
|
||||||
|
|||||||
Reference in New Issue
Block a user