-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: rjdbcm <[email protected]>
- Loading branch information
Showing
1 changed file
with
16 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ home-page = "https://www.oziproject.dev" | |
author = "Eden Ross Duff MSc" | ||
author-email = "[email protected]" | ||
license = "Unlicense" | ||
requires-python = '>=3.10, <3.14' | ||
download-url = "https://github.com/OZI-Project/ozi-spec/archive/refs/tags/{version}.tar.gz" | ||
project-urls = ["Documentation, https://docs.oziproject.dev/en/latest/ozi_spec.html"] | ||
keywords = "specification,standard,OZI,mesonbuild" | ||
|
@@ -25,6 +26,7 @@ classifiers = [ | |
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
'Programming Language :: Python :: 3.12', | ||
'Programming Language :: Python :: 3.13', | ||
'Programming Language :: Python :: Implementation :: CPython', | ||
'Intended Audience :: Other Audience', | ||
'Natural Language :: English', | ||
|
@@ -201,6 +203,7 @@ ignore = [ | |
"RUF009", | ||
"RUF012", | ||
"RUF015", | ||
"RUF200", | ||
"SIM", | ||
"T201", | ||
"TCH002", | ||
|
@@ -312,15 +315,24 @@ commands = | |
description = quickly fix minor source issues | ||
deps = pipx | ||
skip_install = true | ||
commands_pre = | ||
commands = | ||
pipx run --python {env_python} -q black -S . | ||
pipx run --python {env_python} -q isort . | ||
pipx run --python {env_python} -q autoflake -i -r . | ||
pipx run --python {env_python} -q ruff check ozi_spec --fix | ||
pipx run --python {env_python} black -S . | ||
pipx run --python {env_python} isort . | ||
pipx run --python {env_python} autoflake -i -r . | ||
pipx run --python {env_python} ruff check . --fix | ||
commands_post = | ||
[testenv:scm] | ||
description = OZI supply chain management (setuptools_scm) | ||
deps = setuptools_scm[toml]>=8 | ||
commands = | ||
{env_python} -m setuptools_scm {posargs} | ||
[testenv:invoke] | ||
description = OZI invoke task entrypoint, for more info use "tox -e invoke -- --list" | ||
no_package = true | ||
commands_post = | ||
{env_python} -m invoke --search-root={env_tmp_dir}/subprojects/ozi/ozi {posargs} | ||
""" |