-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
57 lines (49 loc) · 1.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
[tool.poetry]
name = "doteki"
version = "0.0.8" # Managed by 'release' script.
description = "Easily add dynamic content to your GitHub profile"
authors = ["Óscar Fernández <[email protected]>"]
license = "GPL-3.0-or-later"
homepage = "https://doteki.org/"
repository = "https://github.com/welpo/doteki"
documentation = "https://doteki.org/docs/"
readme = "README.md"
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
]
[tool.poetry.scripts]
doteki = "doteki.cli:main"
[tool.poetry.group.dev.dependencies]
black = "*"
mypy = "*"
pytest = "*"
pytest-cov = "*"
types-requests = "*"
[tool.poetry.dependencies]
python = "^3.11"
# Optional dependencies for plugins.
feedparser = { version = "^6.0", optional = true }
requests = { version = "^2.28", optional = true }
pyfiglet = { version = "^1.0.2", optional = true}
[tool.poetry.extras]
# Plugin dependencies.
all = [ # This enables `pip install doteki[all]`. Should contain all dependencies below.
"requests",
"feedparser",
"pyfiglet",
]
lastfm = ["requests"]
feed = ["requests", "feedparser"]
figlet = ["pyfiglet"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
check_untyped_defs = true
[[tool.mypy.overrides]]
module = "feedparser.*"
ignore_missing_imports = true