-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (113 loc) · 2.98 KB
/
pyproject.toml
File metadata and controls
125 lines (113 loc) · 2.98 KB
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
113
114
115
116
117
118
119
120
121
122
123
124
125
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "antsibull-nox"
dynamic = ["version"]
description = "Changelog tool for Ansible-core and Ansible collections"
readme = "README.md"
requires-python = ">= 3.9.0"
license = "GPL-3.0-or-later"
license-files.globs = ["LICENSES/*.txt"]
authors = [
{ name = "Felix Fontein", email = "felix@fontein.de" },
{ name = "Toshio Kuratomi", email = "a.badger@gmail.com" },
{ name = "Matt Clay", email = "matt@mystile.com" },
]
maintainers = [
{ name = "Felix Fontein", email = "felix@fontein.de" },
{ name = "Maxwell G", email = "maxwell@gtmx.me" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Ansible",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Typing :: Typed",
]
dependencies = [
"antsibull-fileutils >= 1.5.0, < 2.0.0",
"nox >= 2025.2.9",
"packaging",
"pydantic ~= 2.0",
"pyyaml",
"semantic_version",
"tomli; python_version<'3.11'",
]
[project.urls]
"Documentation" = "https://ansible.readthedocs.io/projects/antsibull-nox/"
"Source code" = "https://github.com/ansible-community/antsibull-nox/"
"Code of Conduct" = "https://docs.ansible.com/ansible/latest/community/code_of_conduct.html"
"Bug tracker" = "https://github.com/ansible-community/antsibull-nox/issues"
"Changelog" = "https://github.com/ansible-community/antsibull-nox/tree/main/CHANGELOG.md"
[project.scripts]
antsibull-nox = "antsibull_nox.cli:main"
[project.optional-dependencies]
#
# Development. Not user facing.
#
codeqa = [
"antsibull-changelog",
"flake8 >= 3.8.0",
"pylint",
"reuse",
]
coverage = [
"coverage[toml]",
]
formatters = [
"black>=24",
"isort",
]
test = [
"pytest",
"pytest-cov",
"pytest-error-for-skips",
]
typing = [
"mypy",
"antsibull-docutils >= 1.2.0",
"types-docutils",
"types-PyYAML",
]
dev = [
# Used by nox sessions
"antsibull-nox[codeqa]",
"antsibull-nox[coverage]",
"antsibull-nox[formatters]",
"antsibull-nox[test]",
"antsibull-nox[typing]",
# misc
"nox",
]
[tool.hatch.version]
path = "src/antsibull_nox/__init__.py"
[tool.isort]
profile = "black"
[tool.coverage.paths]
source = [
"src",
"*/site-packages",
]
[tool.mypy]
exclude = "^tests/[^/]+-collection/"
[[tool.mypy.overrides]]
module = [
"ansible.module_utils.basic",
"pytest",
"semantic_version",
"yamllint",
"yamllint.cli",
"yamllint.config",
"yamllint.linter",
]
ignore_missing_imports = true