-
Notifications
You must be signed in to change notification settings - Fork 18
/
pyproject.toml
105 lines (88 loc) · 2.08 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "historyaitoolkit"
version = "0.1.0"
description = "AI toolkit for professional and amateur oral historians"
readme = "README.md"
authors = [
{name = "Audrey M. Roy Greenfeld", email = "[email protected]"}
]
maintainers = [
{name = "Audrey M. Roy Greenfeld", email = "[email protected]"}
]
classifiers = [
]
license = {text = "GNU General Public License v3"}
dependencies = [
"openai-whisper==20230918",
"pydantic==2.4.2",
"pydantic-settings==2.0.3",
"pydub==0.25.1",
"rich==13.6.0",
"typer==0.9.0",
"yarl==1.9.2"
]
[project.optional-dependencies]
dev = [
"coverage==7.3.2", # testing
"mypy", # linting
"pytest", # testing
"ruff==0.1.3", # linting and formatting
"pre-commit==3.4.0", # manages and maintains pre-commit hooks
]
test = [
"pytest",
# other test dependencies
]
docs = [
"mkdocs-material",
"mkdocs-material[imaging]",
"mkdocs-include-markdown-plugin"
]
clarifai_grpc = [
"clarifai_grpc==9.9.1"
]
transformers = [
"transformers==4.34.0"
]
[project.urls]
bugs = "https://github.com/audreyfeldroy/historyaitoolkit/issues"
# TODO: Autogenerate this file following the pattern in Simplicity
changelog = "https://github.com/audreyfeldroy/historyaitoolkit/blob/master/CHANGELOG.md"
homepage = "https://github.com/audreyfeldroy/historyaitoolkit"
[tool.setuptools]
package-dir = {"" = "src"}
[project.scripts]
hist = "interviewkit.cli:app"
# Ruff
# ----
[tool.ruff]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
]
ignore = [
"E501", # line too long - black takes care of this for us
]
target-version = "py311"
[tool.ruff.per-file-ignores]
# Allow unused imports in __init__ files, as these are convenience imports
"**/__init__.py" = [ "F401" ]
[tool.ruff.isort]
lines-after-imports = 2
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"project",
"local-folder",
]
[tool.ruff.isort.sections]
"project" = [
"src",
"tests",
]