diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 898121e..3737c30 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,7 +49,7 @@ jobs: run: | coverage run --source commit_check -m pytest coverage report && coverage xml - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4.6.0 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.xml @@ -61,7 +61,7 @@ jobs: strategy: fail-fast: false matrix: - py: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13.0-beta.1'] + py: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] os: ['windows-latest', 'ubuntu-latest', 'macos-latest'] runs-on: ${{ matrix.os }} steps: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d50df5f..378667b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ ci: default_install_hook_types: [pre-commit, prepare-commit-msg] repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-yaml - id: check-toml @@ -22,7 +22,7 @@ repos: args: [--max-line-length=100, --ignore=E501] exclude: ^commit_check/__init__.py - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.13.0 hooks: - id: mypy additional_dependencies: [types-PyYAML] @@ -32,7 +32,7 @@ repos: hooks: - id: codespell - repo: https://github.com/commit-check/commit-check - rev: v0.8.2 + rev: v0.8.3 hooks: - id: check-message # - id: check-branch # uncomment if you need. diff --git a/commit_check/__init__.py b/commit_check/__init__.py index 7d1ab0c..a88235c 100644 --- a/commit_check/__init__.py +++ b/commit_check/__init__.py @@ -38,13 +38,13 @@ }, { 'check': 'author_email', - 'regex': r'^\S+@\S+\.\S+$', + 'regex': r'^.+@.+$', 'error': 'The committer\'s email seems invalid', 'suggest': 'run command `git config user.email yourname@example.com`', }, { 'check': 'commit_signoff', - 'regex': r'Signed-off-by:.*[A-Za-z0-9]\s+<[\w\.]+@([\w-]+\.)+[\w-]{2,4}>', + 'regex': r'Signed-off-by:.*[A-Za-z0-9]\s+<.+@.+>', 'error': 'Signed-off-by not found in latest commit', 'suggest': 'run command `git commit -m "conventional commit message" --signoff`', }, diff --git a/pyproject.toml b/pyproject.toml index ffeff98..04c8982 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Utilities" , "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules", pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy