From a35b276774a5a3d46b51216a8b234bcded87ff36 Mon Sep 17 00:00:00 2001 From: tanbro Date: Thu, 16 Jan 2025 12:59:30 +0800 Subject: [PATCH 1/3] build(deps): update pre-commit hooks and dependencies - Update ruff-pre-commit from v0.7.0 to v0.9.1 - Update mypy from v1.13.0 to v1.14.1 - Update check-jsonschema from 0.29.4 to 0.31.0 - Remove Python version classifiers from pyproject.toml - Remove black and isort configurations from pyproject.toml - Update requirements.txt: - Remove build, ruff, and mypy - Keep pre-commit --- .pre-commit-config.yaml | 6 +++--- pyproject.toml | 12 ------------ requirements.txt | 3 --- 3 files changed, 3 insertions(+), 18 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 195686d..1ba5216 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: - id: check-docstring-first - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.0 + rev: v0.9.1 hooks: - id: ruff types_or: [python, pyi, jupyter] @@ -33,13 +33,13 @@ repos: - id: nbstripout - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.13.0 + rev: v1.14.1 hooks: - id: mypy args: [--config-file, .mypy.ini, --ignore-missing-imports] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: "0.29.4" + rev: "0.31.0" hooks: - id: check-github-workflows - id: check-readthedocs diff --git a/pyproject.toml b/pyproject.toml index 168d9e2..dd64247 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,13 +30,6 @@ classifiers = [ "Topic :: Documentation", "Intended Audience :: Developers", "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", ] dynamic = ["version"] @@ -57,8 +50,3 @@ where = ["src"] [tool.setuptools_scm] write_to = "src/mkdocs_nbconvert/_version.py" - -[tool.black] -line-length = 128 -[tool.isort] -profile = "black" diff --git a/requirements.txt b/requirements.txt index 0d5d8c4..bf92458 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,7 +16,4 @@ matplotlib requests # CI tools -build pre-commit -ruff -mypy From 806421f385be3e4c9024fe9712bb9ca8e776265c Mon Sep 17 00:00:00 2001 From: tanbro Date: Thu, 16 Jan 2025 13:01:36 +0800 Subject: [PATCH 2/3] build: exclude requirements.txt from manifest --- MANIFEST.in | 1 + 1 file changed, 1 insertion(+) diff --git a/MANIFEST.in b/MANIFEST.in index 0732498..dc02341 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,6 @@ exclude .* exclude mkdocs.yml +exclude requirements.txt exclude *.requirements.txt exclude codecov.yml From 9600f2a7f45daf8e08d99a25c86149703d6bf6e3 Mon Sep 17 00:00:00 2001 From: tanbro Date: Thu, 16 Jan 2025 13:20:31 +0800 Subject: [PATCH 3/3] build(dependencies): update packages and remove unused dependencies - Upgrade mkdocs to 1.6.1 - Upgrade nbconvert to 7.16.5 - Update hooks in pre-commit - Remove unused packages in requirements.txt and pyproject.toml --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3df1b4c..c73e0bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # CHANGELOG +## v0.3.1 + +> 📅 **Date** 2025-1-16 + +- 🔧 Upgrade: + - `mkdocs` to 1.6.1 + - `nbconvert` to 7.16.5 + - hooks in pre-commit + +- 🔨: Remove unused packages in `requirements.txt` and `pyproject.toml` + ## v0.3 > 📅 **Date** 2024-4-7