feat: upgrade tooling, fix lints

This commit is contained in:
Felix Spöttel
2023-01-25 16:56:59 +01:00
parent b4e57451e8
commit 8669a18110
17 changed files with 159 additions and 68 deletions

View File

@@ -1,5 +1,5 @@
[project]
name = "whisper-api"
name = "whisperbox"
description = ""
version = "0.0.1"
@@ -7,7 +7,7 @@ dependencies=[
"celery[redis] ==5.2.7",
"psycopg2 ==2.9.5",
"sqlalchemy[mypy] == 1.4.45",
"python-dotenv ==0.21.0",
"pydantic ==1.10.4"
]
[project.optional-dependencies]
@@ -21,7 +21,7 @@ worker=[
"whisper-openai ==1.0.0"
]
dev = [
lint = [
# code formatting
"black",
"isort",
@@ -34,9 +34,14 @@ test = [
"httpx",
"sqlalchemy-stubs",
"sqlalchemy-utils",
"python-dotenv",
"pytest"
]
worker_dev = [
"watchdog[watchmedo]"
]
[tool.isort]
profile = "black"