-
-
Notifications
You must be signed in to change notification settings - Fork 113
Comparing changes
Open a pull request
base repository: tox-dev/sphinx-autodoc-typehints
base: 3.6.2
head repository: tox-dev/sphinx-autodoc-typehints
compare: 3.6.3
- 10 commits
- 7 files changed
- 5 contributors
Commits on Jan 12, 2026
-
[pre-commit.ci] pre-commit autoupdate (#597)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bernát Gábor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a4154b - Browse repository at this point
Copy the full SHA 8a4154bView commit details
Commits on Jan 20, 2026
-
[pre-commit.ci] pre-commit autoupdate (#598)
updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.11 → v0.14.13](astral-sh/ruff-pre-commit@v0.14.11...v0.14.13) - [github.com/rbubley/mirrors-prettier: v3.7.4 → v3.8.0](rbubley/mirrors-prettier@v3.7.4...v3.8.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2ba80c4 - Browse repository at this point
Copy the full SHA 2ba80c4View commit details
Commits on Jan 26, 2026
-
[pre-commit.ci] pre-commit autoupdate (#600)
updates: - [github.com/python-jsonschema/check-jsonschema: 0.36.0 → 0.36.1](python-jsonschema/check-jsonschema@0.36.0...0.36.1) - [github.com/astral-sh/ruff-pre-commit: v0.14.13 → v0.14.14](astral-sh/ruff-pre-commit@v0.14.13...v0.14.14) - [github.com/rbubley/mirrors-prettier: v3.8.0 → v3.8.1](rbubley/mirrors-prettier@v3.8.0...v3.8.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8a1647c - Browse repository at this point
Copy the full SHA 8a1647cView commit details
Commits on Feb 2, 2026
-
[pre-commit.ci] pre-commit autoupdate (#602)
updates: - [github.com/tox-dev/pyproject-fmt: v2.11.1 → v2.12.1](tox-dev/pyproject-fmt@v2.11.1...v2.12.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 29248e5 - Browse repository at this point
Copy the full SHA 29248e5View commit details
Commits on Feb 12, 2026
-
[pre-commit.ci] pre-commit autoupdate (#603)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/tox-dev/pyproject-fmt: v2.12.1 → v2.14.2](tox-dev/pyproject-fmt@v2.12.1...v2.14.2) - [github.com/astral-sh/ruff-pre-commit: v0.14.14 → v0.15.0](astral-sh/ruff-pre-commit@v0.14.14...v0.15.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for da0b96d - Browse repository at this point
Copy the full SHA da0b96dView commit details
Commits on Feb 17, 2026
-
🔧 build(tox): migrate from tox.ini to tox.toml (#609)
CI was broken because tox.ini referenced removed extras (numpy, type-comment). Rather than just fixing the stale extras, migrated the entire config to native TOML format using the replace directive for posargs defaults. Also dropped the stale 3.11 env since the project requires >=3.12, and switched pre-commit from tox-ini-fmt to tox-toml-fmt. Signed-off-by: Bernát Gábor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 28dae32 - Browse repository at this point
Copy the full SHA 28dae32View commit details -
Fix extra () after NewType in rendered output (#608)
Change the Sphinx role for NewType from :py:class: to :py:obj: to prevent Sphinx from appending () after the type name in HTML output. The :py:class: role adds parentheses to indicate callability, which produces "NewType()(name, type)" instead of "NewType(name, type)". Fixes #216 Co-authored-by: Bernát Gábor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc92a64 - Browse repository at this point
Copy the full SHA dc92a64View commit details -
Fix ValueError on wrapper loops in inspect.unwrap (#607)
* Fix ValueError on wrapper loops in inspect.unwrap Catch ValueError from inspect.unwrap() in both process_signature and process_docstring. This fixes crashes when documenting objects with circular __wrapped__ chains, such as SQLAlchemy's mapped_column. Fixes #405 * Fix mypy type errors in wrapper loop test Pass empty dict and strings for unused parameters, adding type: ignore annotation since the test only exercises the inspect.unwrap ValueError guard path. Co-Authored-By: Claude Opus 4.6 <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Trigger CI after pre-commit-ci auto-fix Co-Authored-By: Claude Opus 4.6 <[email protected]> * Move type: ignore to the correct argument line The dict literal needs the arg-type ignore (Options expected), but the str arguments are already compatible with str params. Co-Authored-By: Claude Opus 4.6 <[email protected]> * Fix pre-commit ruff check (PLR0912 too-many-branches) Co-Authored-By: Claude Opus 4.6 <[email protected]> * Pass valid Options() instead of dict with type: ignore Co-Authored-By: Claude Opus 4.6 <[email protected]> --------- Co-authored-by: Claude Opus 4.6 <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 291a131 - Browse repository at this point
Copy the full SHA 291a131View commit details
Commits on Feb 18, 2026
-
Fix IndexError with always_document_param_types and braces-after defa…
…ults (#605) * Fix IndexError with always_document_param_types and braces-after defaults When always_document_param_types is True and a parameter is not documented in the docstring, _inject_arg_signature appends a new :param: line and sets insert_index to len(lines). This is one past the last valid index, causing an IndexError in _append_default when typehints_defaults is 'braces-after'. Fix by setting insert_index to len(lines) - 1 (the index of the just-appended line). Fixes #575 * Fix pre-commit ruff check (ARG001 unused fixture parameter) The `warning` parameter is a pytest fixture and cannot be renamed. Co-Authored-By: Claude Opus 4.6 <[email protected]> * Address review: rename loop var, extract docstring into variable - Rename single-letter 'f' to 'rst_file' - Extract multiline RST content into variable before write_text Co-Authored-By: Claude Opus 4.6 <[email protected]> * Move dedent into write_text call per review * Extract RST content into variable per review Store the RST string in index_content, pass it via write_text(dedent(index_content)) as requested. Co-Authored-By: Claude Opus 4.6 <[email protected]> --------- Co-authored-by: Claude Opus 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11e97e2 - Browse repository at this point
Copy the full SHA 11e97e2View commit details -
Fix warning for __new__ of NamedTuple subclasses (#606)
* Fix warning for __new__ of NamedTuple subclasses When documenting __new__ of a NamedTuple subclass, inspect.getmodule() returns None because __new__.__module__ is set to the synthetic 'namedtuple_<Name>' module. The subsequent getattr(None, class_name) raised AttributeError, which Sphinx caught and reported as a warning. Guard against None from both inspect.getmodule() and getattr() in the qualname resolution loop. Fixes #601 * Address review: walrus operator, extract docstrings, rename loop var - Use walrus operator for getattr None check - Extract multiline RST content into variables before write_text - Rename single-letter loop var 'f' to 'rst_file' Co-Authored-By: Claude Opus 4.6 <[email protected]> * Move dedent into write_text call per review * Fix pre-commit (PLR0911) and extract RST into variable Add PLR0911 to noqa for process_signature (7 return statements). Extract RST content into index_content variable per review pattern. Co-Authored-By: Claude Opus 4.6 <[email protected]> --------- Co-authored-by: Claude Opus 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c6f6768 - Browse repository at this point
Copy the full SHA c6f6768View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 3.6.2...3.6.3