Skip to content

Add support of Pyenv and pre-commit#125

Merged
sbrunner merged 1 commit intomasterfrom
add-pyenv-and-pre-commit
Nov 10, 2025
Merged

Add support of Pyenv and pre-commit#125
sbrunner merged 1 commit intomasterfrom
add-pyenv-and-pre-commit

Conversation

@sbrunner
Copy link
Copy Markdown
Owner

No description provided.

@sbrunner sbrunner requested a review from Copilot November 10, 2025 11:56
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for updating Python versions in two additional configuration files: .python-version (used by Pyenv) and .pre-commit-config.yaml (used by pre-commit). The changes reorganize the code with descriptive comments and move the jsonschema-gentypes.yaml handling to a more logical position in the code flow.

  • Adds support for updating the Python version in .python-version files for Pyenv
  • Adds support for updating the default_language_version.python setting in .pre-commit-config.yaml
  • Improves code organization with section comments and logical grouping of file updates

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
python_versions_hook/init.py Adds .python-version and .pre-commit-config.yaml support; reorganizes code with comments and moves jsonschema-gentypes.yaml handling
README.md Documents the new support for Pyenv and pre-commit configuration files

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sbrunner sbrunner force-pushed the add-pyenv-and-pre-commit branch from 217ea67 to 100c256 Compare November 10, 2025 12:01
@sbrunner sbrunner requested a review from Copilot November 10, 2025 12:21
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sbrunner sbrunner marked this pull request as ready for review November 10, 2025 12:26
@sbrunner sbrunner merged commit 2053f90 into master Nov 10, 2025
17 checks passed
@sbrunner sbrunner deleted the add-pyenv-and-pre-commit branch November 10, 2025 12:26
@geo-ghci-int geo-ghci-int bot modified the milestone: 1.3.0 Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants