diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1bc27cbf..a8263d3f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: - id: requirements-txt-fixer - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.9.10 + rev: v0.11.2 hooks: # Run the linter. - id: ruff diff --git a/pyproject.toml b/pyproject.toml index 35630628..c84d1818 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=61", "setuptools-scm"] +requires = ["setuptools>=77", "setuptools-scm"] build-backend = "setuptools.build_meta" [project] @@ -7,7 +7,7 @@ name = "commit-check" description = "Check commit message formatting, branch naming, commit author, email, and more." readme = "README.rst" keywords = ["commit conventions", "conventional commits", "conventional branch", "branch naming", "commit-check", "message", "lint message", "devops"] -license = {text = "MIT License"} +license = "MIT" authors = [ { name = "Xianpeng Shen", email = "xianpeng.shen@gmail.com" }, ] @@ -16,7 +16,6 @@ dependencies = ["pyyaml"] classifiers = [ # https://pypi.org/pypi?%3Aaction=list_classifiers "Development Status :: 5 - Production/Stable", - "License :: OSI Approved :: MIT License", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent",