-
Notifications
You must be signed in to change notification settings - Fork 17
/
pyproject.toml
112 lines (95 loc) · 2.17 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
106
107
108
109
110
111
112
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "manifestoo"
description = "A tool to reason about Odoo addons manifests"
authors = [
{name = "Stéphane Bidoul", email = "[email protected]"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Odoo",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
]
readme = "README.md"
dependencies = [
"manifestoo_core >= 0.8",
"textual >= 0.6",
"typer >= 0.12.1",
"importlib_metadata ; python_version<'3.8'",
]
requires-python = ">=3.7"
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"textual[dev]",
]
test = [
"pytest",
"coverage[toml]",
]
doc = [
"sphinx",
"furo",
"myst-parser",
"towncrier",
"sphinxcontrib-towncrier",
]
[project.urls]
Homepage = "https://github.com/acsone/manifestoo"
Documentation = "https://manifestoo.readthedocs.io/en/stable/"
Changelog = "https://manifestoo.readthedocs.io/en/stable/changelog.html"
Source = "https://github.com/acsone/manifestoo"
[project.scripts]
manifestoo = "manifestoo.main:app"
moo = "manifestoo.main:app"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build]
exclude = [
"/.github",
]
[tool.ruff]
target-version = "py37"
fix = true
[tool.ruff.lint]
select = [
"B",
"E",
"F",
"I",
"UP",
"W",
]
ignore = [
]
exclude = [
"docs/conf.py",
]
[tool.ruff.lint.isort]
known-first-party = ["manifestoo", "manifestoo_core"]
[tool.ruff.lint.per-file-ignores]
"src/manifestoo/main.py" = ["B008"]
[tool.coverage.run]
branch = true
source_pkgs = ["manifestoo"]
[tool.coverage.paths]
source = ["src", ".tox/*/site-packages"]
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
]
[tool.towncrier]
package = "manifestoo"
package_dir = "src"
filename = "HISTORY.rst"
directory = "news"
issue_format = "`#{issue} <https://github.com/acsone/manifestoo/issues/{issue}>`_"
title_format = "{version} ({project_date})"