Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"]
6 changes: 2 additions & 4 deletions dev/prepare_pypi_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/<VERSION>/#files` and `pip
install treelite==<VERSION>` """
)
install treelite==<VERSION>` """)


def check_path():
Expand Down
Loading