-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
75 lines (59 loc) · 2.45 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[options]
packages = ["podcast_chapter_tools"]
[tool.setuptools]
packages = ["podcast_chapter_tools"]
[project]
name = "podcast-chapter-tools"
version = "0.1.0"
description = " Extract and transform podcast chapter information between PodCastIndex chapters, Podlove simple chapters, and description embeds."
readme = "README.md"
license = {file = "LICENSE.txt"}
requires-python = ">=3.11"
authors = [
{ name = "Harold Martin", email = "Harold.Martin@gmail.com" },
]
keywords = ["podcast", "chapters", "pci", "psc", "convert"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Framework :: Datasette",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = ["podcast-transcript-convert"]
[project.optional-dependencies]
lint = ["black", "ruff", "pyroma", "mypy", "types-requests"]
[project.urls]
Homepage = "https://github.com/hbmartin/podcast-chapter-tools"
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [".bzr", ".direnv", ".eggs", ".git", ".git-rewrite", ".hg", ".ipynb_checkpoints", ".mypy_cache", ".nox", ".pants.d", ".pyenv", ".pytest_cache", ".pytype", ".ruff_cache", ".svn", ".tox", ".venv", ".vscode", "__pypackages__", "_build", "buck-out", "build", "dist", "node_modules", "setup.py", "site-packages", "venv"]
# Same as Black.
line-length = 88
indent-width = 4
lint.select = ["ALL"]
lint.ignore = ["ANN101", "D100", "D101", "D103", "D104", "D105", "D107", "D203", "D213", "ERA001", "FBT001", "FIX002", "ICN001", "PTH109", "S113", "S314", "S608", "SIM300", "T201", "TD002", "TD003", "UP040"]
target-version = "py312"
[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ANN201", "E501", "PLR2004", "PT011", "S101"]
"ai/ai/prompts.py" = ["E501"]
[tool.pytest.ini_options]
pythonpath = ". venv/lib/python3.12/site-packages"
testpaths = "tests"