-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build with hatch and release tap2junit v0.1.6 (#49)
* Build with hatch * hatch version micro * Add changelog URL
- Loading branch information
Showing
6 changed files
with
86 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,112 @@ | ||
[project] | ||
name = "tap2junit" | ||
version = "0.1.5" | ||
description = "Tap13 to jUnit" | ||
description = "A utility that converts TAP version 12 and 13 to JUnit. That's it." | ||
dynamic = ["version"] | ||
keywords = ["tap13", "junit"] | ||
license = {text = "Apache-2.0"} | ||
readme = "README.md" | ||
requires-python = ">=3.7" | ||
authors = [ | ||
{name = "Node.js contributor", email = "cclauss@me.com"} | ||
{ name = "Node.js contributor", email = "cclauss@me.com" } | ||
] | ||
keywords = ["tap13", "junit"] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache License, Version 2.0", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Topic :: Software Development :: Build Tools", | ||
] | ||
dependencies = [ | ||
"junit_xml", | ||
"yamlish" | ||
"junit_xml", | ||
"yamlish" | ||
] | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"black", | ||
"codespell[toml]", | ||
"mypy", | ||
"pytest", | ||
"pytest-clarity", | ||
"ruff", | ||
"safety", | ||
] | ||
|
||
[project.scripts] | ||
tap2junit = "tap2junit.__main__:main" | ||
|
||
[project.urls] | ||
repository = "https://github.com/nodejs/tap2junit" | ||
Homepage = "https://github.com/nodejs/tap2junit" | ||
Changelog = "https://github.com/nodejs/tap2junit/blob/main/CHANGELOG.md" | ||
|
||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.hatch.build.targets.sdist] | ||
exclude = [ | ||
"/.github", | ||
"/backend", | ||
] | ||
|
||
[tool.hatch.metadata] | ||
allow-direct-references = true | ||
|
||
[tool.hatch.version] | ||
path = "tap2junit/__init__.py" | ||
|
||
[tool.codespell] | ||
quiet-level = 3 | ||
skip = '*.tap,*.xml' | ||
|
||
[tool.mypy] | ||
exclude = ["build/"] | ||
ignore_missing_imports = true | ||
|
||
[tool.ruff] | ||
select = ["A", "B", "C4", "C9", "E", "F", "I", "PL", "S", "UP", "W", "YTT"] | ||
select = [ | ||
"A", | ||
"B", | ||
"BLE", | ||
"C4", | ||
"C9", | ||
"DTZ", | ||
"E", | ||
"EXE", | ||
"F", | ||
"G", | ||
"I", | ||
"ICN", | ||
"ISC", | ||
"N", | ||
"PGH", | ||
"PIE", | ||
"PL", | ||
"PT", | ||
"PYI", | ||
"RUF", | ||
"S", | ||
"SIM", | ||
"UP", | ||
"W", | ||
"YTT", | ||
] | ||
line-length = 88 # Recommended: 88 | ||
target-version = "py37" | ||
|
||
[tool.ruff.mccabe] | ||
max-complexity = 24 | ||
|
||
[tool.ruff.per-file-ignores] | ||
"test/*" = ["S101"] # Use of assert detected which is OK in pytests. | ||
max-complexity = 24 # Recommended: 10 | ||
|
||
[tool.ruff.pylint] | ||
max-args = 6 | ||
max-branches = 25 | ||
max-statements = 89 | ||
max-args = 6 # Recommended: 5 | ||
max-branches = 25 # Recommended: 12 | ||
max-returns = 6 # Recommended: 6 | ||
max-statements = 89 # Recommended: 50 | ||
|
||
[tool.ruff.per-file-ignores] | ||
"test/*" = ["C406", "S101", "SIM115"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = "0.1.6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters