Skip to content

34j/sync-python-matrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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-matrix
  rev: "" # Use the sha / tag you want to point at
  hooks:
    - 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

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages