Spaces:
Sleeping
Sleeping
Fedir Zadniprovskyi
commited on
Commit
•
c2c6908
1
Parent(s):
7448df4
Add `pre-commit` to pyproject.toml
Browse files- flake.nix +0 -1
- pyproject.toml +1 -0
- uv.lock +68 -0
flake.nix
CHANGED
@@ -24,7 +24,6 @@
|
|
24 |
ffmpeg-full
|
25 |
go-task
|
26 |
parallel
|
27 |
-
pre-commit
|
28 |
pv
|
29 |
python312
|
30 |
rsync
|
|
|
24 |
ffmpeg-full
|
25 |
go-task
|
26 |
parallel
|
|
|
27 |
pv
|
28 |
python312
|
29 |
rsync
|
pyproject.toml
CHANGED
@@ -31,6 +31,7 @@ dev = [
|
|
31 |
"ruff>=0.5.3",
|
32 |
"srt>=3.5.3",
|
33 |
"webvtt-py>=0.5.1",
|
|
|
34 |
]
|
35 |
ui = [
|
36 |
"gradio>=4.44.0",
|
|
|
31 |
"ruff>=0.5.3",
|
32 |
"srt>=3.5.3",
|
33 |
"webvtt-py>=0.5.1",
|
34 |
+
"pre-commit>=4.0.1",
|
35 |
]
|
36 |
ui = [
|
37 |
"gradio>=4.44.0",
|
uv.lock
CHANGED
@@ -109,6 +109,15 @@ wheels = [
|
|
109 |
{ url = "https://files.pythonhosted.org/packages/7c/fc/6a8cb64e5f0324877d503c854da15d76c1e50eb722e320b15345c4d0c6de/cffi-1.17.1-cp313-cp313-win_amd64.whl", hash = "sha256:f6a16c31041f09ead72d69f583767292f750d24913dadacf5756b966aacb3f1a", size = 182009 },
|
110 |
]
|
111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
[[package]]
|
113 |
name = "charset-normalizer"
|
114 |
version = "3.3.2"
|
@@ -230,6 +239,15 @@ wheels = [
|
|
230 |
{ url = "https://files.pythonhosted.org/packages/e7/05/c19819d5e3d95294a6f5947fb9b9629efb316b96de511b418c53d245aae6/cycler-0.12.1-py3-none-any.whl", hash = "sha256:85cef7cff222d8644161529808465972e51340599459b8ac3ccbac5a854e0d30", size = 8321 },
|
231 |
]
|
232 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
233 |
[[package]]
|
234 |
name = "distro"
|
235 |
version = "1.9.0"
|
@@ -303,6 +321,7 @@ dev = [
|
|
303 |
{ name = "basedpyright" },
|
304 |
{ name = "mkdocs-material" },
|
305 |
{ name = "mkdocstrings", extra = ["python"] },
|
|
|
306 |
{ name = "pytest" },
|
307 |
{ name = "pytest-antilru" },
|
308 |
{ name = "pytest-asyncio" },
|
@@ -333,6 +352,7 @@ requires-dist = [
|
|
333 |
{ name = "mkdocstrings", extras = ["python"], marker = "extra == 'dev'", specifier = ">=0.26.1" },
|
334 |
{ name = "numpy", specifier = ">=2.1.1" },
|
335 |
{ name = "openai", marker = "extra == 'ui'", specifier = ">=1.48.0" },
|
|
|
336 |
{ name = "pydantic", specifier = ">=2.9.0" },
|
337 |
{ name = "pydantic-settings", specifier = ">=2.5.2" },
|
338 |
{ name = "pytest", marker = "extra == 'dev'", specifier = ">=8.3.3" },
|
@@ -562,6 +582,15 @@ wheels = [
|
|
562 |
{ url = "https://files.pythonhosted.org/packages/f0/0f/310fb31e39e2d734ccaa2c0fb981ee41f7bd5056ce9bc29b2248bd569169/humanfriendly-10.0-py2.py3-none-any.whl", hash = "sha256:1697e1a8a8f550fd43c2865cd84542fc175a61dcb779b6fee18cf6b6ccba1477", size = 86794 },
|
563 |
]
|
564 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
565 |
[[package]]
|
566 |
name = "idna"
|
567 |
version = "3.10"
|
@@ -896,6 +925,15 @@ wheels = [
|
|
896 |
{ url = "https://files.pythonhosted.org/packages/43/e3/7d92a15f894aa0c9c4b49b8ee9ac9850d6e63b03c9c32c0367a13ae62209/mpmath-1.3.0-py3-none-any.whl", hash = "sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c", size = 536198 },
|
897 |
]
|
898 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
899 |
[[package]]
|
900 |
name = "nodejs-wheel-binaries"
|
901 |
version = "20.17.0"
|
@@ -1118,6 +1156,22 @@ wheels = [
|
|
1118 |
{ url = "https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669", size = 20556 },
|
1119 |
]
|
1120 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1121 |
[[package]]
|
1122 |
name = "protobuf"
|
1123 |
version = "5.28.2"
|
@@ -4097,6 +4151,20 @@ wheels = [
|
|
4097 |
{ url = "https://files.pythonhosted.org/packages/f5/8e/cdc7d6263db313030e4c257dd5ba3909ebc4e4fb53ad62d5f09b1a2f5458/uvicorn-0.30.6-py3-none-any.whl", hash = "sha256:65fd46fe3fda5bdc1b03b94eb634923ff18cd35b2f084813ea79d1f103f711b5", size = 62835 },
|
4098 |
]
|
4099 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4100 |
[[package]]
|
4101 |
name = "watchdog"
|
4102 |
version = "5.0.3"
|
|
|
109 |
{ url = "https://files.pythonhosted.org/packages/7c/fc/6a8cb64e5f0324877d503c854da15d76c1e50eb722e320b15345c4d0c6de/cffi-1.17.1-cp313-cp313-win_amd64.whl", hash = "sha256:f6a16c31041f09ead72d69f583767292f750d24913dadacf5756b966aacb3f1a", size = 182009 },
|
110 |
]
|
111 |
|
112 |
+
[[package]]
|
113 |
+
name = "cfgv"
|
114 |
+
version = "3.4.0"
|
115 |
+
source = { registry = "https://pypi.org/simple" }
|
116 |
+
sdist = { url = "https://files.pythonhosted.org/packages/11/74/539e56497d9bd1d484fd863dd69cbbfa653cd2aa27abfe35653494d85e94/cfgv-3.4.0.tar.gz", hash = "sha256:e52591d4c5f5dead8e0f673fb16db7949d2cfb3f7da4582893288f0ded8fe560", size = 7114 }
|
117 |
+
wheels = [
|
118 |
+
{ url = "https://files.pythonhosted.org/packages/c5/55/51844dd50c4fc7a33b653bfaba4c2456f06955289ca770a5dbd5fd267374/cfgv-3.4.0-py2.py3-none-any.whl", hash = "sha256:b7265b1f29fd3316bfcd2b330d63d024f2bfd8bcb8b0272f8e19a504856c48f9", size = 7249 },
|
119 |
+
]
|
120 |
+
|
121 |
[[package]]
|
122 |
name = "charset-normalizer"
|
123 |
version = "3.3.2"
|
|
|
239 |
{ url = "https://files.pythonhosted.org/packages/e7/05/c19819d5e3d95294a6f5947fb9b9629efb316b96de511b418c53d245aae6/cycler-0.12.1-py3-none-any.whl", hash = "sha256:85cef7cff222d8644161529808465972e51340599459b8ac3ccbac5a854e0d30", size = 8321 },
|
240 |
]
|
241 |
|
242 |
+
[[package]]
|
243 |
+
name = "distlib"
|
244 |
+
version = "0.3.9"
|
245 |
+
source = { registry = "https://pypi.org/simple" }
|
246 |
+
sdist = { url = "https://files.pythonhosted.org/packages/0d/dd/1bec4c5ddb504ca60fc29472f3d27e8d4da1257a854e1d96742f15c1d02d/distlib-0.3.9.tar.gz", hash = "sha256:a60f20dea646b8a33f3e7772f74dc0b2d0772d2837ee1342a00645c81edf9403", size = 613923 }
|
247 |
+
wheels = [
|
248 |
+
{ url = "https://files.pythonhosted.org/packages/91/a1/cf2472db20f7ce4a6be1253a81cfdf85ad9c7885ffbed7047fb72c24cf87/distlib-0.3.9-py2.py3-none-any.whl", hash = "sha256:47f8c22fd27c27e25a65601af709b38e4f0a45ea4fc2e710f65755fa8caaaf87", size = 468973 },
|
249 |
+
]
|
250 |
+
|
251 |
[[package]]
|
252 |
name = "distro"
|
253 |
version = "1.9.0"
|
|
|
321 |
{ name = "basedpyright" },
|
322 |
{ name = "mkdocs-material" },
|
323 |
{ name = "mkdocstrings", extra = ["python"] },
|
324 |
+
{ name = "pre-commit" },
|
325 |
{ name = "pytest" },
|
326 |
{ name = "pytest-antilru" },
|
327 |
{ name = "pytest-asyncio" },
|
|
|
352 |
{ name = "mkdocstrings", extras = ["python"], marker = "extra == 'dev'", specifier = ">=0.26.1" },
|
353 |
{ name = "numpy", specifier = ">=2.1.1" },
|
354 |
{ name = "openai", marker = "extra == 'ui'", specifier = ">=1.48.0" },
|
355 |
+
{ name = "pre-commit", marker = "extra == 'dev'", specifier = ">=4.0.1" },
|
356 |
{ name = "pydantic", specifier = ">=2.9.0" },
|
357 |
{ name = "pydantic-settings", specifier = ">=2.5.2" },
|
358 |
{ name = "pytest", marker = "extra == 'dev'", specifier = ">=8.3.3" },
|
|
|
582 |
{ url = "https://files.pythonhosted.org/packages/f0/0f/310fb31e39e2d734ccaa2c0fb981ee41f7bd5056ce9bc29b2248bd569169/humanfriendly-10.0-py2.py3-none-any.whl", hash = "sha256:1697e1a8a8f550fd43c2865cd84542fc175a61dcb779b6fee18cf6b6ccba1477", size = 86794 },
|
583 |
]
|
584 |
|
585 |
+
[[package]]
|
586 |
+
name = "identify"
|
587 |
+
version = "2.6.1"
|
588 |
+
source = { registry = "https://pypi.org/simple" }
|
589 |
+
sdist = { url = "https://files.pythonhosted.org/packages/29/bb/25024dbcc93516c492b75919e76f389bac754a3e4248682fba32b250c880/identify-2.6.1.tar.gz", hash = "sha256:91478c5fb7c3aac5ff7bf9b4344f803843dc586832d5f110d672b19aa1984c98", size = 99097 }
|
590 |
+
wheels = [
|
591 |
+
{ url = "https://files.pythonhosted.org/packages/7d/0c/4ef72754c050979fdcc06c744715ae70ea37e734816bb6514f79df77a42f/identify-2.6.1-py2.py3-none-any.whl", hash = "sha256:53863bcac7caf8d2ed85bd20312ea5dcfc22226800f6d6881f232d861db5a8f0", size = 98972 },
|
592 |
+
]
|
593 |
+
|
594 |
[[package]]
|
595 |
name = "idna"
|
596 |
version = "3.10"
|
|
|
925 |
{ url = "https://files.pythonhosted.org/packages/43/e3/7d92a15f894aa0c9c4b49b8ee9ac9850d6e63b03c9c32c0367a13ae62209/mpmath-1.3.0-py3-none-any.whl", hash = "sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c", size = 536198 },
|
926 |
]
|
927 |
|
928 |
+
[[package]]
|
929 |
+
name = "nodeenv"
|
930 |
+
version = "1.9.1"
|
931 |
+
source = { registry = "https://pypi.org/simple" }
|
932 |
+
sdist = { url = "https://files.pythonhosted.org/packages/43/16/fc88b08840de0e0a72a2f9d8c6bae36be573e475a6326ae854bcc549fc45/nodeenv-1.9.1.tar.gz", hash = "sha256:6ec12890a2dab7946721edbfbcd91f3319c6ccc9aec47be7c7e6b7011ee6645f", size = 47437 }
|
933 |
+
wheels = [
|
934 |
+
{ url = "https://files.pythonhosted.org/packages/d2/1d/1b658dbd2b9fa9c4c9f32accbfc0205d532c8c6194dc0f2a4c0428e7128a/nodeenv-1.9.1-py2.py3-none-any.whl", hash = "sha256:ba11c9782d29c27c70ffbdda2d7415098754709be8a7056d79a737cd901155c9", size = 22314 },
|
935 |
+
]
|
936 |
+
|
937 |
[[package]]
|
938 |
name = "nodejs-wheel-binaries"
|
939 |
version = "20.17.0"
|
|
|
1156 |
{ url = "https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669", size = 20556 },
|
1157 |
]
|
1158 |
|
1159 |
+
[[package]]
|
1160 |
+
name = "pre-commit"
|
1161 |
+
version = "4.0.1"
|
1162 |
+
source = { registry = "https://pypi.org/simple" }
|
1163 |
+
dependencies = [
|
1164 |
+
{ name = "cfgv" },
|
1165 |
+
{ name = "identify" },
|
1166 |
+
{ name = "nodeenv" },
|
1167 |
+
{ name = "pyyaml" },
|
1168 |
+
{ name = "virtualenv" },
|
1169 |
+
]
|
1170 |
+
sdist = { url = "https://files.pythonhosted.org/packages/2e/c8/e22c292035f1bac8b9f5237a2622305bc0304e776080b246f3df57c4ff9f/pre_commit-4.0.1.tar.gz", hash = "sha256:80905ac375958c0444c65e9cebebd948b3cdb518f335a091a670a89d652139d2", size = 191678 }
|
1171 |
+
wheels = [
|
1172 |
+
{ url = "https://files.pythonhosted.org/packages/16/8f/496e10d51edd6671ebe0432e33ff800aa86775d2d147ce7d43389324a525/pre_commit-4.0.1-py2.py3-none-any.whl", hash = "sha256:efde913840816312445dc98787724647c65473daefe420785f885e8ed9a06878", size = 218713 },
|
1173 |
+
]
|
1174 |
+
|
1175 |
[[package]]
|
1176 |
name = "protobuf"
|
1177 |
version = "5.28.2"
|
|
|
4151 |
{ url = "https://files.pythonhosted.org/packages/f5/8e/cdc7d6263db313030e4c257dd5ba3909ebc4e4fb53ad62d5f09b1a2f5458/uvicorn-0.30.6-py3-none-any.whl", hash = "sha256:65fd46fe3fda5bdc1b03b94eb634923ff18cd35b2f084813ea79d1f103f711b5", size = 62835 },
|
4152 |
]
|
4153 |
|
4154 |
+
[[package]]
|
4155 |
+
name = "virtualenv"
|
4156 |
+
version = "20.26.6"
|
4157 |
+
source = { registry = "https://pypi.org/simple" }
|
4158 |
+
dependencies = [
|
4159 |
+
{ name = "distlib" },
|
4160 |
+
{ name = "filelock" },
|
4161 |
+
{ name = "platformdirs" },
|
4162 |
+
]
|
4163 |
+
sdist = { url = "https://files.pythonhosted.org/packages/3f/40/abc5a766da6b0b2457f819feab8e9203cbeae29327bd241359f866a3da9d/virtualenv-20.26.6.tar.gz", hash = "sha256:280aede09a2a5c317e409a00102e7077c6432c5a38f0ef938e643805a7ad2c48", size = 9372482 }
|
4164 |
+
wheels = [
|
4165 |
+
{ url = "https://files.pythonhosted.org/packages/59/90/57b8ac0c8a231545adc7698c64c5a36fa7cd8e376c691b9bde877269f2eb/virtualenv-20.26.6-py3-none-any.whl", hash = "sha256:7345cc5b25405607a624d8418154577459c3e0277f5466dd79c49d5e492995f2", size = 5999862 },
|
4166 |
+
]
|
4167 |
+
|
4168 |
[[package]]
|
4169 |
name = "watchdog"
|
4170 |
version = "5.0.3"
|