From 0cf5eb95e875bfff361ae172a4a92bc703f62f04 Mon Sep 17 00:00:00 2001 From: "repo-helper[bot]" <74742576+repo-helper[bot]@users.noreply.github.com> Date: Tue, 7 Apr 2026 22:48:17 +0000 Subject: [PATCH] Updated files with 'repo_helper'. --- .pre-commit-config.yaml | 11 +++++++---- doc-source/license.rst | 4 ++-- pyproject.toml | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 511128d..6216ff8 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 @@ -60,8 +63,8 @@ repos: - id: rst-directive-colons - id: rst-inline-touching-normal - - repo: https://github.com/asottile/pyupgrade - rev: v3.3.0 + - repo: https://github.com/python-formate/pyupgrade + 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/doc-source/license.rst b/doc-source/license.rst index 057e341..5dbb42b 100644 --- a/doc-source/license.rst +++ b/doc-source/license.rst @@ -2,9 +2,9 @@ License ========= -``PyMassSpec-Plot`` is licensed under the :choosealicense:`GPL-2.0-only` +``PyMassSpec-Plot`` is licensed under the :choosealicense:`GPL-2.0` -.. license-info:: GPL-2.0-only +.. license-info:: GPL-2.0 .. license:: :py: pymassspec-plot diff --git a/pyproject.toml b/pyproject.toml index bf94841..b59319a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,7 @@ base-classifiers = [ python-versions = [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13",] python-implementations = [ "CPython",] platforms = [ "Windows", "macOS", "Linux",] -license-key = "GPL-2.0-only" +license-key = "GPLv2" package = "pymassspec_plot" [tool.sphinx-pyproject]