diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 201a783..200cfa7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: "v4.4.0" + rev: "v6.0.0" hooks: - id: check-case-conflict - id: check-executables-have-shebangs @@ -23,31 +23,31 @@ repos: - id: requirements-txt-fixer - id: trailing-whitespace - - repo: https://github.com/psf/black - rev: "23.3.0" + - repo: https://github.com/psf/black-pre-commit-mirror + rev: "25.12.0" hooks: - id: black - repo: https://github.com/asottile/blacken-docs - rev: "1.14.0" + rev: "1.20.0" hooks: - id: blacken-docs additional_dependencies: [black==23.3.0] - - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: "v0.0.272" + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: "v0.14.10" hooks: - id: ruff args: ["--fix", "--show-fixes"] - repo: https://github.com/mgedmin/check-manifest - rev: "0.49" + rev: "0.51" hooks: - id: check-manifest stages: [manual] - repo: https://github.com/asottile/setup-cfg-fmt - rev: "v2.3.0" + rev: "v3.2.0" hooks: - id: setup-cfg-fmt args: [--include-version-classifiers, --max-py-version=3.11] @@ -65,12 +65,12 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/shellcheck-py/shellcheck-py - rev: "v0.9.0.5" + rev: "v0.11.0.1" hooks: - id: shellcheck - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v3.0.0-alpha.9-for-vscode" + rev: "v4.0.0-alpha.8" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] diff --git a/setup.cfg b/setup.cfg index 23e8721..9c8d8fd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -15,16 +15,12 @@ classifiers = Intended Audience :: Developers Intended Audience :: Information Technology Intended Audience :: Science/Research - License :: OSI Approved :: GNU General Public License v3 (GPLv3) Operating System :: MacOS Operating System :: POSIX Operating System :: Unix Programming Language :: Python Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Topic :: Scientific/Engineering @@ -37,7 +33,7 @@ classifiers = packages = find: install_requires = GitPython -python_requires = >=3.7 +python_requires = >=3.10 include_package_data = True package_dir = = src diff --git a/src/g4edgetestdata/__init__.py b/src/g4edgetestdata/__init__.py index 66dd3a8..4652d25 100644 --- a/src/g4edgetestdata/__init__.py +++ b/src/g4edgetestdata/__init__.py @@ -1,7 +1,8 @@ """Bare-bones Python package to access G4Edge test data files.""" + from __future__ import annotations from g4edgetestdata._version import version as __version__ from g4edgetestdata.core import G4EdgeTestData -__all__ = ["__version__", "G4EdgeTestData"] +__all__ = ["G4EdgeTestData", "__version__"]