-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPipfile
54 lines (50 loc) · 1.39 KB
/
Pipfile
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
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
torchaudio = "*"
torchvision = "*"
torch = "*"
speechbrain = "*"
python-ffmpeg = "*"
pyyaml = "*"
pynvml = "*"
humanize = "*"
enlighten = "*"
psutil = "*"
apischema = "*"
pysoundfile = "*"
wxpython = "*"
themoviedb = {extras = ["sync"], version = "*"}
[dev-packages]
pylint = "*"
mypy = "*"
flake8 = "*"
black = "*"
ruff = "*"
types-psutil = "*"
pytest = "*"
pytest-cov = "*"
pytest-assertcount = "*"
pytest-subtests = "*"
types-requests = "*"
requests = "*"
chardet = "*"
types-wxpython = "*"
types-pyyaml = "*"
[scripts]
check = "python src/entry.py run"
lint = "bash -c 'pipenv run mypy && pipenv run ruff'"
mypy = "mypy src/ tests/ ffmpeg_helper/ --strict --ignore-missing-imports --warn-unreachable"
ruff = "ruff check src/ tests/ ffmpeg_helper/"
ruff-ci = "ruff check src/ tests/ ffmpeg_helper/ --output-format"
ruff-fix = "ruff check src/ tests/ ffmpeg_helper/ --fix"
schema = "python src/entry.py schema"
gui = "python src/entry.py gui"
test = "pytest tests/"
coverage = "bash -c 'coverage run -m pytest tests/ && coverage xml'"
extract_translation = "pygettext3 -d video_language_detect -o locales/video_language_detect.pot src/"
generate_translation = "bash -c 'for PO_FILE in locales/*/LC_MESSAGES/*.po; do MO_FILE=\"${PO_FILE/.po/.mo}\"; msgfmt -o \"$MO_FILE\" \"$PO_FILE\"; done'"
[requires]
python_version = "3.12"