mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-01 08:11:45 +00:00
lint: fix use black
This commit is contained in:
parent
d4bab66ca0
commit
44a8016333
17
setup.py
17
setup.py
@ -10,8 +10,9 @@ with open("README.md", "r") as fh:
|
|||||||
def parse_requirements(file_name: str) -> List[str]:
|
def parse_requirements(file_name: str) -> List[str]:
|
||||||
with open(file_name) as f:
|
with open(file_name) as f:
|
||||||
return [
|
return [
|
||||||
require.strip() for require in f
|
require.strip()
|
||||||
if require.strip() and not require.startswith('#')
|
for require in f
|
||||||
|
if require.strip() and not require.startswith("#")
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
@ -22,16 +23,16 @@ setuptools.setup(
|
|||||||
author="csunny",
|
author="csunny",
|
||||||
author_email="cfqcsunny@gmail.com",
|
author_email="cfqcsunny@gmail.com",
|
||||||
description="DB-GPT is an experimental open-source project that uses localized GPT large models to interact with your data and environment."
|
description="DB-GPT is an experimental open-source project that uses localized GPT large models to interact with your data and environment."
|
||||||
" With this solution, you can be assured that there is no risk of data leakage, and your data is 100% private and secure.",
|
" With this solution, you can be assured that there is no risk of data leakage, and your data is 100% private and secure.",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
install_requires=parse_requirements('requirements.txt'),
|
install_requires=parse_requirements("requirements.txt"),
|
||||||
url="https://github.com/csunny/DB-GPT",
|
url="https://github.com/csunny/DB-GPT",
|
||||||
license='https://opensource.org/license/mit/',
|
license="https://opensource.org/license/mit/",
|
||||||
python_requires='>=3.10',
|
python_requires=">=3.10",
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': [
|
"console_scripts": [
|
||||||
'dbgpt_server=pilot.server:webserver',
|
"dbgpt_server=pilot.server:webserver",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user