/
pyproject.toml
118 lines (109 loc) · 2.3 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[project]
name = "transcrobes"
version = "0.35.0"
description = ""
requires-python = ">=3.12"
authors = [{ name = "Anton Melser", email = "anton@transcrob.es" }]
license = { file = "LICENSE" }
dependencies = [
"fastjsonschema",
"openai",
"anyio",
"websockets",
"user-agents",
"pysubs2",
"pyjson5",
"requests",
"uvicorn[standard] >= 0.18.1",
"fastapi >= 0.85.0",
"python-multipart",
"email-validator",
"requests",
"passlib[bcrypt]",
"tenacity",
"pydantic",
"pydantic-settings",
"typing_extensions",
"emails",
"raven",
"gunicorn",
"Jinja2",
"psycopg[binary]",
"alembic",
"SQLAlchemy",
"python-jose",
"asyncpg",
"strawberry-graphql < 0.212.0",
"aiohttp-retry",
"aiohttp >= 3.9.0b0",
"webvtt-py",
"dawn",
"bs4",
"aiokafka",
"pymemcache",
"mmh3",
"python-magic",
"logging_tree",
"aiofiles",
"pytz",
"Unidecode",
"textile",
"zhon",
"pinyinsplit",
"PyGithub",
"OpenCC",
"orjson",
"pytest-asyncio",
"faust-streaming",
]
[project.optional-dependencies]
dev = [
"pip-tools",
"pytest",
"mypy",
"autoflake",
"pytest",
"pytest-cov",
"pre-commit",
"pylint",
"black",
"httpx",
]
[project.urls]
Homepage = "https://transcrob.es/"
Documentation = "https://transcrob.es/"
"Bug Tracker" = "https://github.com/transcrobes/transcrobes/issues"
Discussions = "https://github.com/transcrobes/transcrobes/discussions"
[tool.pylint.master]
extension-pkg-whitelist = ["pydantic"]
[tool.pylint.messages_control]
# I0011 Warning locally suppressed using disable-msg
# disabling wrong-import-order because isort is run in pre-commit, pylint ignores [tool.isort] in this file
# and I can't work out how to get pylint to consider 'known-first-party'
disable = """
invalid-name,
logging-fstring-interpolation,
fixme,
I0011,
missing-docstring,
C0330,
too-few-public-methods,
too-many-arguments,
C0326,
pointless-string-statement,
no-member,
R0901,
R0801,
wrong-import-order,
too-many-instance-attributes,
"""
[tool.pylint.basic]
# Good variable names which should always be accepted, separated by a comma.
good-names = "i,j,k,ex,_,f,e,s,w,li,t"
[tool.pylint.format]
max-line-length = 120
[tool.black]
line-length = 120
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"