-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
93 lines (88 loc) · 2.39 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
[project]
name = "transcriber"
version = "0.2.0"
description = "Transcriber & translator for audio files. Like Otter.ai but free and build with Gemini AI"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"beautifulsoup4==4.13.0",
"google-genai>=0.3.0",
"replicate==1.0.4",
"requests[socks]==2.32.3",
"streamlit==1.41.1",
"yt-dlp[default]==2025.1.26",
]
[tool.mypy]
ignore_missing_imports = true
follow_imports = "silent"
disallow_untyped_defs = true
python_version = "3.12"
exclude = ["temp.*"]
[tool.pylint]
disable = ["C0114", "C0116", "E0611", "C0301"]
[tool.ruff]
extend-exclude = ["temp"]
line-length = 88
indent-width = 4
target-version = "py312"
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"B", # flake8-bugbear
"I", # isort
"W", # pycodestyle
"SIM", # flake8-simplify
"UP", # pyupgrade
"LOG", # flake8-logging
"G", # flake8-logging-format
"PT", # flake8-pytest-style
"S", # flake8-bandit
"DTZ", # flake8-datetimez
"Q", # flake8-quotes
"RET", # flake8-return
"TID", # flake8-tidy-imports
"PTH", # flake8-use-pathlib
"PERF", # Perflint
"FURB", # refurb
"RUF", # Ruff-specific rules
"C90", # mccabe
"N", # pep8-naming
"A", # flake8-builtins
"COM", # flake8-commas
"CPY", # flake8-copyright
"C4", # flake8-comprehensions
"ICN", # flake8-import-conventions
"T20", # flake8-print
"RSE", # flake8-raise
"TCH", # flake8-type-checking
"ARG", # flake8-unused-arguments
"FIX", # flake8-fixme
"ERA", # eradicate
"PL", # Pylint
"FLY", # flynt
# "D", # pydocstyle
# "ANN", # flake8-annotations
"ASYNC", # flake8-async
"T10", # flake8-debugger
"EM", # flake8-errmsg
"EXE", # flake8-executable
"FA", # flake8-future-annotations
"ISC", # flake8-implicit-str-concat
"INP", # flake8-no-pep420
"PIE", # flake8-pie
"PYI", # flake8-pyi
"SLF", # flake8-self
"SLOT", # flake8-slots
"INT", # flake8-gettext
"PGH", # pygrep-hooks
"DOC", # pydoclint
]
ignore = ["S603", "S607", "E501"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = "dynamic"