diff --git a/justfile b/justfile index 12680a9..d9da491 100644 --- a/justfile +++ b/justfile @@ -5,44 +5,44 @@ pyut_pyproject_toml := pyut / "pyproject.toml" dev: fmt develop pytest cargo-test develop: - cd {{pyut}} - maturin develop -m {{pyut_manifest}} + cd {{ pyut }} + maturin develop -m {{ pyut_manifest }} cargo-test: cargo test build: cargo-test - cd {{pyut}} - maturin build -m {{pyut_manifest}} + cd {{ pyut }} + maturin build -m {{ pyut_manifest }} build-release: - cd {{pyut}} - maturin build --release -m {{pyut_manifest}} + cd {{ pyut }} + maturin build --release -m {{ pyut_manifest }} dev-rel: - cd {{pyut}} - maturin develop --release -m {{pyut_manifest}} + cd {{ pyut }} + maturin develop --release -m {{ pyut_manifest }} pytest: - cd {{pyut}} - pytest --benchmark-disable -n 4 --config-file={{pyut_pyproject_toml}} {{pyut}} + cd {{ pyut }} + pytest --benchmark-disable -n 4 --config-file={{ pyut_pyproject_toml }} {{ pyut }} test-release: build-release - cd {{pyut}} - pytest --benchmark-disable --config-file={{pyut_pyproject_toml}} {{pyut}} + cd {{ pyut }} + pytest --benchmark-disable --config-file={{ pyut_pyproject_toml }} {{ pyut }} bench: dev-rel - cd {{pyut}} - pytest -vv --benchmark-only --config-file={{pyut_pyproject_toml}} {{pyut}} + cd {{ pyut }} + pytest -vv --benchmark-only --config-file={{ pyut_pyproject_toml }} {{ pyut }} cargo-fmt: cargo fmt sort-all: - sort-all {{pyut}}/python/utiles/__init__.py + sort-all {{ pyut }}/python/utiles/__init__.py black: - black {{pyut}}/python {{pyut}}/tests + black {{ pyut }}/python {{ pyut }}/tests # format python fmtpy: @@ -57,7 +57,7 @@ fmtcpy: fmt: cargo-fmt fmtpy mypy: - mypy --config-file {{pyut}}/pyproject.toml {{pyut}}/python {{pyut}}/tests + mypy --config-file {{ pyut }}/pyproject.toml {{ pyut }}/python {{ pyut }}/tests ruff: ruff check . @@ -68,7 +68,6 @@ ruffix: clippy: cargo clippy - clippy-fix: cargo clippy --all-targets --all-features --fix --allow-dirty -- -D warnings diff --git a/utiles-pyo3/python/utiles/__main__.py b/utiles-pyo3/python/utiles/__main__.py index 20b0c5f..2b3d522 100644 --- a/utiles-pyo3/python/utiles/__main__.py +++ b/utiles-pyo3/python/utiles/__main__.py @@ -5,7 +5,7 @@ import sys from utiles import _utiles -from utiles.__about__ import __pkgroot__, __title__, __version__ +from utiles.__about__ import __authors__, __pkgroot__, __title__, __version__ def _utiles_ext_info() -> dict[str, str | int]: @@ -28,6 +28,8 @@ def main() -> None: "package": __title__, "version": __version__, "pkgroot": __pkgroot__, + "authors": __authors__, + "website": "https://github.com/jessekrubin/utiles", "_utiles": _utiles_ext_info(), }, indent=2,