diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 826bff41..51a5e799 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,16 +10,16 @@ repos: - id: check-added-large-files args: ["--maxkb=4000"] - repo: https://github.com/psf/black - rev: 25.12.0 + rev: 26.1.0 hooks: - id: black - repo: https://github.com/pycqa/isort - rev: 7.0.0 + rev: 8.0.0 hooks: - id: isort args: ["--profile", "black", "--filter-files"] - repo: https://github.com/MarcoGorelli/cython-lint - rev: v0.18.1 + rev: v0.19.0 hooks: - id: cython-lint - id: double-quote-cython-strings @@ -54,7 +54,7 @@ repos: - id: mypy additional_dependencies: [types-setuptools] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.11 + rev: v0.15.2 hooks: - id: ruff args: ["--config", "python/pyproject.toml"] diff --git a/dev/prepare_pypi_release.py b/dev/prepare_pypi_release.py index 4b440885..175d8aa6 100644 --- a/dev/prepare_pypi_release.py +++ b/dev/prepare_pypi_release.py @@ -115,13 +115,11 @@ def download_py_packages(version_str: str, commit_hash: str) -> None: ext="tar.gz", ) print(f"List of downloaded sdist: {filenames}\n") - print( - """ + print(""" Following steps should be done manually: - Upload pypi package by `python -m twine upload python/dist/* for all wheels. - Check the uploaded files on `https://pypi.org/project/treelite//#files` and `pip - install treelite==` """ - ) + install treelite==` """) def check_path():