-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
69 lines (57 loc) · 2.43 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[options]
packages = ["overcast_to_sqlite", "overcast_to_sqlite.html"]
[tool.setuptools]
packages = ["overcast_to_sqlite", "overcast_to_sqlite.html"]
[tool.setuptools.package-data]
"overcast_to_sqlite.html" = ["*.css", "*.html"]
[project]
name = "overcast-to-sqlite"
version = "0.8.0"
description = "Save listening history and feed/episode info from Overcast to a SQLite database."
readme = "README.md"
requires-python = ">=3.11"
authors = [
{ name = "Harold Martin", email = "Harold.Martin@gmail.com" },
]
keywords = ["datasette", "overcast", "sqlite", "podcasts", "podcast", "transcripts"]
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 = ["click", "podcast-chapter-tools", "python-dateutil", "requests", "sqlite-utils"]
[project.optional-dependencies]
lint = ["pyroma", "mypy", "ruff", "types-python-dateutil", "types-requests", "pytest", "requests-mock"]
[project.scripts]
overcast-to-sqlite = "overcast_to_sqlite.cli:cli"
[project.urls]
Homepage = "https://github.com/hbmartin/overcast-to-sqlite"
[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
target-version = "py311"
lint.select = ["ALL"]
lint.ignore = ["D100", "D101", "D103", "D104", "D105", "D107", "D203", "D213", "ICN001", "S608", "S113", "S311", "S314", "T201"]
[tool.ruff.lint.per-file-ignores]
"overcast_to_sqlite/cli.py" = ["FBT001"]
"overcast_to_sqlite/more_itertools.py" = ["RET505", "EM101", "TRY003", "ANN202", "D415", "D400", "ANN001", "FBT002", "ANN201"]
"overcast_to_sqlite/episode.py" = ["SIM102"]
[tool.ruff.format]
# Same as Black.
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"