-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
101 lines (86 loc) · 1.96 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
[tool.poetry]
name = "videomaker-helper"
version = "0.2.2"
description = "Simples tools to help video makers"
authors = ["dunossauro <mendesxeduardo@gmail.com>"]
readme = "README.md"
license = "GPL-3.0-or-later"
packages = [{include = "vmh"}]
classifiers = [
"Environment :: Console",
]
[tool.poetry.dependencies]
python = "^3.11"
pydub = "^0.25.1"
typer = "^0.9.0"
loguru = "^0.7.0"
tinydb = "^4.8.0"
rich = "^13.5.2"
pedalboard = "^0.7.7"
parsel = "^1.8.1"
moviepy = "v2.0.0.dev2"
appdirs = "^1.4.4"
language-tool-python = "^2.7.1"
whisper = "^1.1.10"
numba = "^0.57.1"
openai-whisper = {git = "https://github.com/openai/whisper.git"}
torch = "^2.0.1"
torchvision = "^0.15.2"
torchaudio = "^2.0.2"
matplotlib = "^3.7.2"
librosa = "^0.10.1"
inquirerpy = "^0.3.4"
mkdocstrings = "^0.23.0"
[tool.poetry.group.dev.dependencies]
isort = "^5.12.0"
blue = "^0.9.1"
ruff = "^0.1.11"
pyinstrument = "^4.5.1"
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
taskipy = "^1.12.0"
mypy = "^1.5.1"
[tool.poetry.group.doc.dependencies]
mkdocs = "^1.5.2"
mkdocs-material = "^9.2.7"
mkdocs-video = "^1.5.0"
mkdocstrings = "^0.23.0"
mkdocstrings-python = "^1.6.0"
[tool.isort]
profile = "black"
line_length = 79
[tool.poetry.scripts]
vmh = "vmh.cli:app"
[tool.pytest.ini_options]
pythonpath = "."
filterwarnings = 'ignore'
[tool.ruff.lint]
select = ['ALL']
ignore = [
'D100',
'D103',
'D104',
'E501',
]
[tool.ruff.lint.per-file-ignores]
'tests/*' = ['ANN201', 'S101']
[tool.ruff.pydocstyle]
convention = "google"
[tool.ruff.lint.flake8-quotes]
inline-quotes = 'single'
[tool.taskipy.tasks]
format = 'blue . && isort .'
lint = 'blue . --check --diff && isort . --check --diff && ruff .'
types = 'mypy .'
pre_test = 'task lint'
test = 'pytest --cov=vmh/ -vv -x'
post_test = 'coverage html'
doc = 'mkdocs serve'
[tool.mypy]
ignore_missing_imports = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[[tool.poetry.source]]
name = "pypi"
priority = "primary"