-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
86 lines (75 loc) · 2.16 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
[build-system]
requires = ["poetry-core>=1.9.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
files = "release_feed_mediola/**/*.py,tests/**/*.py"
implicit_reexport = false
no_implicit_optional = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_ignores = true
[tool.poetry]
name = "release_feed_mediola"
version = "0.3.0"
description = "Atom feed for software product releases of Mediola AG"
readme = ["README.md", "USAGE.md"]
authors = ["Claudia Pellegrino <[email protected]>"]
license = "Apache-2.0"
classifiers = ["Development Status :: 3 - Alpha", "Topic :: Utilities"]
[tool.poetry.dependencies]
python = ">=3.12"
colorama = "*"
feedgenerator = "^2.1"
fire = "*"
requests = "^2.31.0"
[tool.poetry.group.dev.dependencies]
autopep8 = "*"
mypy = ">=1.10"
myst-parser = ">=2.0.0"
pdoc = ">=14.5"
poethepoet = ">=0.26"
pylint = ">=3.0"
pytest = "*"
sphinx = ">=7.1.2,<7.2.0"
types-colorama = "*"
types-requests = "^2.32.0"
[tool.poetry.scripts]
release-feed-mediola = "release_feed_mediola.cli:run"
[tool.poe]
verbosity = -1
[tool.poe.tasks]
tasks.cmd = "poe -v"
tasks.help = "List available tasks"
doc.cmd = "sphinx-build -aqEW -b man doc/sphinx build/man"
doc.help = "Generate documentation"
feed.script = "release_feed_mediola.cli:run"
feed.help = """
Print an Atom feed generated from the Mediola website. Requires an \
argument."""
html.cmd = "pdoc release_feed_mediola !release_feed_mediola.settings"
html.help = "Browse HTML documentation"
linter.cmd = "pylint --enable-all-extensions release_feed_mediola"
linter.help = "Check for style violations"
man.cmd = "man build/man/release-feed-mediola.1"
man.help = "Open manual page"
tests.cmd = "pytest"
tests.help = "Run test suite"
typecheck.cmd = "mypy"
typecheck.help = "Run static type checker"
[tool.pyright]
reportUnsupportedDunderAll = "none"
[tool.pytest.ini_options]
testpaths = "tests"
xfail_strict = true
[tool.ruff]
line-length = 72
[tool.ruff.format]
quote-style = "single"