Skip to content

Bump the pre-commit-hooks group across 1 directory with 6 updates - #975

Open
dependabot[bot] wants to merge 2 commits into
developfrom
dependabot/pre_commit/develop/pre-commit-hooks-51d69aecc2
Open

dependabot[bot] wants to merge 2 commits into
developfrom
dependabot/pre_commit/develop/pre-commit-hooks-51d69aecc2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the pre-commit-hooks group with 6 updates in the / directory:

Package From To
https://github.com/python-poetry/poetry 2.4.1 2.5.1
https://github.com/astral-sh/ruff-pre-commit v0.15.15 0.16.10
https://github.com/pre-commit/mirrors-mypy v1.15.0 2.4.0
https://github.com/codingjoe/relint 3.3.1 3.5.0
https://github.com/codespell-project/codespell v2.4.2 2.4.3
https://github.com/rstcheck/rstcheck v6.2.5 6.3.0

Updates https://github.com/python-poetry/poetry from 2.4.1 to 2.5.1

Release notes

Sourced from https://github.com/python-poetry/poetry's releases.

2.5.1

Fixed

  • Fix an issue where uninstalling a package with installer.builtin-uninstall set failed with a TypeError (#11077).

2.5.0

Added

  • Add an installer.builtin-uninstall setting to uninstall packages with a built-in uninstaller instead of invoking pip uninstall (#10931).
  • Add official support for Python 3.15 (#11046).

Changed

  • Do not send credentials configured for an https repository via http (#11073).
  • Fail with an error when the current Python version is not compatible with the project and virtualenvs.create is false (#10941).
  • Validate version constraints that are entered interactively in poetry init (#10909).
  • Include the path of the pyproject.toml file in the message about already present packages in poetry add (#10908).
  • Improve performance of processing package links and repository pages (#10895, #10896, #10903, #10949, #10951, #10953).
  • Improve performance of dependency resolution (#10907, #10954).
  • Improve performance of choosing and installing wheels (#10905, #10958).
  • Improve performance by avoiding redundant keyring lookups for repositories without credentials (#10959).
  • Improve performance by reducing the number of subprocesses to discover virtual environment data (#11042).
  • Improve performance of poetry search for single-token queries (#10906).
  • Improve startup time by deferring the import of requests (#11004).
  • Improve performance of schema validation by caching compiled JSON schema validators (#11033).

Fixed

  • Fix an issue where credentials of the wrong repository were used under certain circumstances when multiple repositories were configured on the same host (#11072).
  • Fix an issue where credentials of a repository on another host were used for git dependencies if the path of the URL was the same (#11074).
  • Fix an issue where dependency resolution failed for conflicting requirements of different packages even though the requirements had mutually exclusive markers (#10944).
  • Fix an issue where dependency resolution failed when the same package was required with different extras in several optional dependencies or dependency groups (#10943).
  • Fix an issue where dependency resolution failed with a KeyError (#11008).
  • Fix an issue where the dependencies of an extra were missing in the lock file after adding the extra to a locked dependency, e.g. a git dependency, in the pyproject.toml file (#10987).
  • Fix an issue where a path or git dependency was not reinstalled when its develop setting changed (#11022).
  • Fix an issue where scripts of type file were not installed when installing the project (#10736).
  • Fix an issue where GUI scripts were not installed when installing the project (#10973).
  • Fix an issue where a relative path was written to direct_url.json for path dependencies (#10917).
  • Fix an issue where poetry show <package> showed a version that was not relevant for the current environment if there were multiple versions of the package in the lock file (#11003).
  • Fix an issue where poetry show --outdated did not find newer versions of packages from sources with explicit priority (#10982).
  • Fix an issue where poetry env activate ignored the environment that was determined by the application, e.g. when using --directory (#10916).
  • Fix an issue where poetry init proposed an invalid package name if the directory name was not a valid package name (#10975).

Docs

  • Document the --license option of poetry init and poetry new (#11064).
  • Clarify which dependencies are locked when running poetry update with dependency groups (#11024).
  • Clarify the portability of path dependencies (#11020).
  • Clarify the usage of poetry run with console scripts (#10984).

... (truncated)

Changelog

Sourced from https://github.com/python-poetry/poetry's changelog.

[2.5.1] - 2026-09-20

Fixed

  • Fix an issue where uninstalling a package with installer.builtin-uninstall set failed with a TypeError (#11077).

[2.5.0] - 2026-09-19

Added

  • Add an installer.builtin-uninstall setting to uninstall packages with a built-in uninstaller instead of invoking pip uninstall (#10931).
  • Add official support for Python 3.15 (#11046).

Changed

  • Do not send credentials configured for an https repository via http (#11073).
  • Fail with an error when the current Python version is not compatible with the project and virtualenvs.create is false (#10941).
  • Validate version constraints that are entered interactively in poetry init (#10909).
  • Include the path of the pyproject.toml file in the message about already present packages in poetry add (#10908).
  • Improve performance of processing package links and repository pages (#10895, #10896, #10903, #10949, #10951, #10953).
  • Improve performance of dependency resolution (#10907, #10954).
  • Improve performance of choosing and installing wheels (#10905, #10958).
  • Improve performance by avoiding redundant keyring lookups for repositories without credentials (#10959).
  • Improve performance by reducing the number of subprocesses to discover virtual environment data (#11042).
  • Improve performance of poetry search for single-token queries (#10906).
  • Improve startup time by deferring the import of requests (#11004).
  • Improve performance of schema validation by caching compiled JSON schema validators (#11033).

Fixed

  • Fix an issue where credentials of the wrong repository were used under certain circumstances when multiple repositories were configured on the same host (#11072).
  • Fix an issue where credentials of a repository on another host were used for git dependencies if the path of the URL was the same (#11074).
  • Fix an issue where dependency resolution failed for conflicting requirements of different packages even though the requirements had mutually exclusive markers (#10944).
  • Fix an issue where dependency resolution failed when the same package was required with different extras in several optional dependencies or dependency groups (#10943).
  • Fix an issue where dependency resolution failed with a KeyError (#11008).
  • Fix an issue where the dependencies of an extra were missing in the lock file after adding the extra to a locked dependency, e.g. a git dependency, in the pyproject.toml file (#10987).
  • Fix an issue where a path or git dependency was not reinstalled when its develop setting changed (#11022).
  • Fix an issue where scripts of type file were not installed when installing the project (#10736).
  • Fix an issue where GUI scripts were not installed when installing the project (#10973).
  • Fix an issue where a relative path was written to direct_url.json for path dependencies (#10917).
  • Fix an issue where poetry show <package> showed a version that was not relevant for the current environment if there were multiple versions of the package in the lock file (#11003).
  • Fix an issue where poetry show --outdated did not find newer versions of packages from sources with explicit priority (#10982).

... (truncated)

Commits
  • 94b6e35 release: bump version to 2.5.1
  • f8408ca fix TypeError when using installer.builtin-uninstall (#11077)
  • 165fb4b release: bump version to 2.5.0
  • c93fd63 update poetry-core (#10921)
  • 32356ae chore: update dependencies (#11075)
  • d266d45 test: accept compatible extension wheel tags (#11014)
  • c8790a3 add Python 3.15 to tests matrix (#11046)
  • a416efd authenticator: match host when looking up git credentials (#11074)
  • e078ebf authenticator: do not send credentials configured for https with http (#11073)
  • 8711c83 authenticator: sort candidates by common path segments instead of prefixes (#...
  • Additional commits viewable in compare view

Updates https://github.com/astral-sh/ruff-pre-commit from v0.15.15 to 0.16.10

Release notes

Sourced from https://github.com/astral-sh/ruff-pre-commit's releases.

v0.16.10

See: https://github.com/astral-sh/ruff/releases/tag/0.16.10

v0.16.9

See: https://github.com/astral-sh/ruff/releases/tag/0.16.9

v0.16.8

See: https://github.com/astral-sh/ruff/releases/tag/0.16.8

v0.16.7

See: https://github.com/astral-sh/ruff/releases/tag/0.16.7

v0.16.6

See: https://github.com/astral-sh/ruff/releases/tag/0.16.6

v0.16.5

See: https://github.com/astral-sh/ruff/releases/tag/0.16.5

v0.16.4

See: https://github.com/astral-sh/ruff/releases/tag/0.16.4

v0.16.3

See: https://github.com/astral-sh/ruff/releases/tag/0.16.3

v0.16.2

See: https://github.com/astral-sh/ruff/releases/tag/0.16.2

v0.16.1

See: https://github.com/astral-sh/ruff/releases/tag/0.16.1

v0.16.0

See: https://github.com/astral-sh/ruff/releases/tag/0.16.0

v0.15.22

See: https://github.com/astral-sh/ruff/releases/tag/0.15.22

v0.15.21

See: https://github.com/astral-sh/ruff/releases/tag/0.15.21

v0.15.20

See: https://github.com/astral-sh/ruff/releases/tag/0.15.20

v0.15.19

See: https://github.com/astral-sh/ruff/releases/tag/0.15.19

v0.15.18

See: https://github.com/astral-sh/ruff/releases/tag/0.15.18

v0.15.17

See: https://github.com/astral-sh/ruff/releases/tag/0.15.17

... (truncated)

Commits

Updates https://github.com/pre-commit/mirrors-mypy from v1.15.0 to 2.4.0

Commits

Updates https://github.com/codingjoe/relint from 3.3.1 to 3.5.0

Release notes

Sourced from https://github.com/codingjoe/relint's releases.

3.5.0

What's Changed

New Contributors

Full Changelog: codingjoe/relint@3.4.1...3.5.0

3.4.1

What's Changed

Full Changelog: codingjoe/relint@3.4.0...3.4.1

3.4.0

What's Changed

Full Changelog: codingjoe/relint@3.3.1...3.4.0

Commits
  • b1c90df Resolve #114 -- Always wrap code printed to the console (#146)
  • 757bca4 [pre-commit.ci] pre-commit autoupdate
  • c845e27 [pre-commit.ci] pre-commit autoupdate
  • a9c0e38 Bump actions/checkout from 6 to 7
  • fad6d65 Limit allowed tools
  • d5a7f5f Add Skills via Claude plugin
  • 3751a69 [pre-commit.ci] pre-commit autoupdate
  • d36fea4 Revert funding file
  • 49a477b Fix #133 -- Handle git diff mnemonic prefixes (#137)
  • 8ace03a [pre-commit.ci] pre-commit autoupdate
  • Additional commits viewable in compare view

Updates https://github.com/codespell-project/codespell from v2.4.2 to 2.4.3

Release notes

Sourced from https://github.com/codespell-project/codespell's releases.

v2.4.3

What's Changed

... (truncated)

Commits
  • 57b2140 Read only [tool.codespell] from TOML config (#3975)
  • 23b8d94 [pre-commit.ci] pre-commit autoupdate
  • 926c4d6 [pre-commit.ci] pre-commit autoupdate
  • 820a301 Merge pull request #3967 from codespell-project/peternewman-patch-1
  • 9fe42c9 Add common misspellings for reseeve->reserve to dictionary
  • 725173c [pre-commit.ci] pre-commit autoupdate
  • 86c13ee [pre-commit.ci] pre-commit autoupdate
  • 7b9f36c Bump actions/checkout from 6 to 7
  • bcc1b80 Add spelling corrections for simpe and variants.
  • 89584cc [pre-commit.ci] pre-commit autoupdate
  • Additional commits viewable in compare view

Updates https://github.com/rstcheck/rstcheck from v6.2.5 to 6.3.0

Changelog

Sourced from https://github.com/rstcheck/rstcheck's changelog.

v6.3.0 (2026-07-28)

diff v6.2.5...v6.3.0

Documentation

  • switch from sphinx-click to sphinx-typer (#250)

Miscellaneous

  • Bump min. python version to 3.10 (#250)
  • Added python 3.14 to test suite (#250)
  • Bump min. rstcheck-core version to 1.3.1 (#254)
  • Add --sphinx-source-dir flag (#254)
Commits
  • d8774e9 "release v6.3.0 [skip ci]"
  • 382bcc8 Merge pull request #254 from rstcheck/support-rstcheck-core-1_3_1
  • 93a53bd update changelog
  • f69ee7c add flag for new sphinx_source_dir setting
  • 88c8248 bump min rstcheck-core version to 1.3.1
  • b4f9612 Merge pull request #253 from rstcheck/pre-commit-ci-update-config
  • 436c085 ignore argument count of cli function
  • 2608287 [pre-commit.ci] auto fixes from pre-commit.com hooks
  • 4be06fb [pre-commit.ci] pre-commit autoupdate
  • 96719d9 Merge pull request #250 from rstcheck/pre-commit-ci-update-config
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file pre_commit Pull requests that update pre_commit code labels Sep 8, 2026
Copilot AI lite review requested due to automatic review settings September 8, 2026 20:54
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file pre_commit Pull requests that update pre_commit code labels Sep 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

It includes two confirmed logic bugs in the changed regions (filter_min/filter_max handling of 0.0, and an IndexError risk on empty arrays in text_formating) that should be fixed before merging.

Pull request overview

This PR updates the repository’s pre-commit toolchain (Poetry, Ruff, mypy, relint, codespell, rstcheck) and includes a series of small type-annotation cleanups (mainly reordering X | Y | None unions) likely produced by updated lint/type tooling.

Changes:

  • Bump multiple pre-commit hook revisions in .pre-commit-config.yaml.
  • Normalize/reorder several Python type annotations across workspace, IO, data, and UI JSON modules.
  • Minor signature/annotation adjustments to align with newer typing/lint expectations.
File summaries
File Description
geoh5py/workspace/workspace.py Type-annotation union order adjustment in get_entity.
geoh5py/ui_json/ui_json.py Type-annotation union order adjustment for __pydantic_extra__.
geoh5py/shared/utils.py Type-annotation union order adjustment for min_max_scaler(axis=...).
geoh5py/objects/geo_image.py Type-annotation union order adjustment for _create_geoimage_from_attributes arg.
geoh5py/io/h5_writer.py Type-annotation union order adjustment for fetch_handle return type.
geoh5py/groups/interpretation_section.py Type-annotation union order adjustment for local metadata variable.
geoh5py/data/visual_parameters.py Type-annotation union order adjustments for several properties/methods.
geoh5py/data/text_data.py Type-annotation union order adjustment for text_formating signature.
geoh5py/data/data_type.py Type-annotation union order adjustments around filter setters (also exposes a real logic bug).
.pre-commit-config.yaml Bump hook versions for Poetry, Ruff, mypy, relint, codespell, rstcheck.
Review details

Suppressed comments (3)

geoh5py/data/data_type.py:261

  • The filter_max validation uses truthiness checks (if filter_min and value ...) which breaks for valid numeric values like 0.0 (skips the comparison) and also causes 0.0 to be stored as None via float(value) if value else None. Use explicit is not None checks to preserve zero and validate correctly.

This issue also appears on line 282 of the same file.

        filter_min: float | None = getattr(self, "_filter_min", None)
        if filter_min and value and value < filter_min:
            raise ValueError(
                "Attribute 'filter_max' must be greater than or equal to 'filter_min'."
            )

geoh5py/data/data_type.py:286

  • The filter_min validation uses truthiness checks (if filter_max and value ...) which breaks for valid numeric values like 0.0 (skips the comparison) and also causes 0.0 to be stored as None via float(value) if value else None. Use explicit is not None checks to preserve zero and validate correctly.
        filter_max: float | None = getattr(self, "_filter_max", None)
        if filter_max and value and value > filter_max:
            raise ValueError(
                "Attribute 'filter_min' must be less than or equal to 'filter_max'."
            )

geoh5py/data/text_data.py:36

  • text_formating indexes values[0] to detect byte strings, which raises IndexError for an empty numpy array. Since TextData.validate_values permits empty arrays, guard values.size == 0 before indexing.
def text_formating(values: np.ndarray | str | None) -> ndarray | None:
    """
    Format text values to utf-8.

    :param values: The values to format.
  • Files reviewed: 10/10 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@RomFloreani

Copy link
Copy Markdown
Contributor

@dependabot recreate

Bumps the pre-commit-hooks group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [https://github.com/python-poetry/poetry](https://github.com/python-poetry/poetry) | `2.4.1` | `2.5.1` |
| [https://github.com/astral-sh/ruff-pre-commit](https://github.com/astral-sh/ruff-pre-commit) | `v0.15.15` | `0.16.10` |
| [https://github.com/pre-commit/mirrors-mypy](https://github.com/pre-commit/mirrors-mypy) | `v1.15.0` | `2.4.0` |
| [https://github.com/codingjoe/relint](https://github.com/codingjoe/relint) | `3.3.1` | `3.5.0` |
| [https://github.com/codespell-project/codespell](https://github.com/codespell-project/codespell) | `v2.4.2` | `2.4.3` |
| [https://github.com/rstcheck/rstcheck](https://github.com/rstcheck/rstcheck) | `v6.2.5` | `6.3.0` |



Updates `https://github.com/python-poetry/poetry` from 2.4.1 to 2.5.1
- [Release notes](https://github.com/python-poetry/poetry/releases)
- [Changelog](https://github.com/python-poetry/poetry/blob/main/CHANGELOG.md)
- [Commits](python-poetry/poetry@2.4.1...2.5.1)

Updates `https://github.com/astral-sh/ruff-pre-commit` from v0.15.15 to 0.16.10
- [Release notes](https://github.com/astral-sh/ruff-pre-commit/releases)
- [Commits](astral-sh/ruff-pre-commit@v0.15.15...v0.16.10)

Updates `https://github.com/pre-commit/mirrors-mypy` from v1.15.0 to 2.4.0
- [Commits](pre-commit/mirrors-mypy@v1.15.0...v2.4.0)

Updates `https://github.com/codingjoe/relint` from 3.3.1 to 3.5.0
- [Release notes](https://github.com/codingjoe/relint/releases)
- [Commits](codingjoe/relint@3.3.1...3.5.0)

Updates `https://github.com/codespell-project/codespell` from v2.4.2 to 2.4.3
- [Release notes](https://github.com/codespell-project/codespell/releases)
- [Commits](codespell-project/codespell@v2.4.2...v2.4.3)

Updates `https://github.com/rstcheck/rstcheck` from v6.2.5 to 6.3.0
- [Changelog](https://github.com/rstcheck/rstcheck/blob/main/CHANGELOG.md)
- [Commits](rstcheck/rstcheck@v6.2.5...v6.3.0)

---
updated-dependencies:
- dependency-name: https://github.com/astral-sh/ruff-pre-commit
  dependency-version: 0.16.6
  dependency-type: direct:production
  dependency-group: pre-commit-hooks
- dependency-name: https://github.com/codespell-project/codespell
  dependency-version: 2.4.3
  dependency-type: direct:production
  dependency-group: pre-commit-hooks
- dependency-name: https://github.com/codingjoe/relint
  dependency-version: 3.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pre-commit-hooks
- dependency-name: https://github.com/pre-commit/mirrors-mypy
  dependency-version: 2.3.1
  dependency-type: direct:production
  dependency-group: pre-commit-hooks
- dependency-name: https://github.com/python-poetry/poetry
  dependency-version: 2.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pre-commit-hooks
- dependency-name: https://github.com/rstcheck/rstcheck
  dependency-version: 6.3.0
  dependency-type: direct:production
  dependency-group: pre-commit-hooks
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pre_commit/develop/pre-commit-hooks-51d69aecc2 branch from 87cc4b9 to 440fcd3 Compare October 9, 2026 13:40
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

⚠️ Force push detected - Previous Copilot review comments may no longer be relevant to the current code. Please resolve any outdated threads and re-request a Copilot review when ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file pre_commit Pull requests that update pre_commit code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants