Skip to content

Update version handling and pre-commit configuration#26

Merged
jkawamoto merged 2 commits intomainfrom
docs
Mar 19, 2025
Merged

Update version handling and pre-commit configuration#26
jkawamoto merged 2 commits intomainfrom
docs

Conversation

@jkawamoto
Copy link
Copy Markdown
Member

Description

This pull request includes the following updates:

  • Switched version handling to use importlib.metadata.version for dynamic retrieval.
  • Updated Sphinx configuration and removed outdated LaTeX, manual page, and Texinfo configurations.
  • Eliminated hardcoded __version__ in rsd/__init__.py to improve maintainability.
  • Updated Ruff target version to Python 3.11 for enhanced compatibility.
  • Added poetry-check and poetry-lock hooks to the pre-commit configuration to ensure consistency and validity of pyproject.toml and lock files.

These changes collectively improve project maintainability and dependency management workflows.

This commit integrates Poetry hooks (`poetry-check` and `poetry-lock`) into the pre-commit configuration. These hooks help ensure the consistency and validity of the `pyproject.toml` and lock files, improving dependency management workflows.
Switched version handling to use `importlib.metadata.version` and updated Sphinx config accordingly. Removed outdated LaTeX, manual page, and Texinfo configurations from Sphinx and eliminated the hardcoded `__version__` in `rsd/__init__.py`. Updated Ruff target version to Python 3.11 for better compatibility.
@jkawamoto jkawamoto merged commit 53297c8 into main Mar 19, 2025
4 checks passed
@jkawamoto jkawamoto deleted the docs branch March 21, 2025 04:12
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.

1 participant