Skip to content

Repository files navigation

sync-python-matrix

A pre-commit hook to sync Python versions in GitHub Actions workflow files with the classifiers in pyproject.toml.

classifiers = [
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]

jobs:
test:
strategy:
matrix:
python-version:
- 3.13
- 3.14

Usage

Add this to your .pre-commit-config.yaml

- repo: https://github.com/34j/sync-python-matrixrev: ""# Use the sha / tag you want to point athooks:
- id: sync-python-matrix

About

A pre-commit hook to sync Python versions in GitHub Actions workflow files with the classifiers in pyproject.toml.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages