diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f919ebc..1714ffe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,7 +32,7 @@ repos: - id: end-of-file-fixer - repo: https://github.com/domdfcoding/pre-commit-hooks - rev: v0.6.0 + rev: v0.7.0 hooks: - id: requirements-txt-sorter args: @@ -40,6 +40,9 @@ repos: - id: check-docstring-first exclude: ^(doc-source/conf|__pkginfo__|setup|tests/.*)\.py$ - id: bind-requirements + args: + - --python-min + - '3.7' - repo: https://github.com/python-formate/flake8-dunder-all rev: v0.5.0 @@ -61,7 +64,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/python-formate/pyupgrade - rev: '2e49872' + rev: bbe3007 hooks: - id: pyupgrade args: @@ -80,7 +83,7 @@ repos: - id: snippet-fmt - repo: https://github.com/python-formate/formate - rev: v1.2.0 + rev: v1.2.1 hooks: - id: formate exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$ diff --git a/pyproject.toml b/pyproject.toml index 2ee7755..62f635e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,7 @@ base-classifiers = [ python-versions = [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13",] python-implementations = [ "CPython", "PyPy",] platforms = [ "Windows", "macOS", "Linux",] -license-key = "LGPL-3.0-or-later" +license-key = "LGPLv3+" additional-files = [ "recursive-include enum_tools/ requirements.txt", "recursive-exclude tests/ *",] package = "enum_tools"