-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
149 lines (122 loc) · 3.08 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "reverse_argparse"
version = "1.0.8"
license = "LICENSE.md"
readme = "README.md"
keywords = ["argparse", "argument", "parse", "parsing", "command line"]
repository = "https://github.com/sandialabs/reverse_argparse"
description = "Generate the effective command line invocation for a script."
documentation = "https://reverse-argparse.readthedocs.io"
authors = [
"Jason M. Gates <[email protected]>"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development",
"Topic :: Software Development :: Debuggers",
"Topic :: Software Development :: Documentation",
"Topic :: Software Development :: User Interfaces",
"Typing :: Typed",
]
[tool.poetry.urls]
CI = "https://github.com/sandialabs/reverse_argparse/actions"
Issues = "https://github.com/sandialabs/reverse_argparse/issues"
[tool.poetry.dependencies]
python = ">=3.8"
[tool.poetry.dev-dependencies]
# At some point, convert from the various requirements.txt files to this
# list of Poetry development dependencies.
[tool.ruff]
line-length = 79
[tool.ruff.lint]
extend-select = [
"A",
"B",
"BLE",
"C4",
"C90",
"D",
"DTZ",
"E",
"EM",
"ERA",
"EXE",
"FBT",
"NPY",
"PGH",
"PL",
"PT",
"PTH",
"RET",
"RSE",
"RUF",
"S",
"SIM",
"TID",
"TCH",
"TRY",
"UP",
"W",
]
ignore = [
"D212",
]
[tool.ruff.lint.per-file-ignores]
"**/test_*.py" = ["S101"]
"example/*.py" = ["S603"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.semantic_release]
build_command = "python3 -m pip install poetry && poetry build"
commit_message = """
chore: Release v{version}
Automatically generated by python-semantic-release."""
version_variables = [
"doc/source/conf.py:version",
"reverse_argparse/__init__.py:__version__",
]
version_toml = [
"pyproject.toml:tool.poetry.version",
]
[tool.semantic_release.branches.master]
match = "master"
[tool.semantic_release.changelog]
exclude_commit_patterns = [
"Merge pull request",
]
[tool.semantic_release.commit_author]
env = "GIT_COMMIT_AUTHOR"
default = "semantic-release <semantic-release>"
[tool.semantic_release.commit_parser_options]
allowed_tags = [
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"minor",
"patch",
"perf",
"refactor",
"style",
"test",
]
minor_tags = ["feat", "minor"]
patch_tags = ["fix", "patch", "perf"]