Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.9.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.13.3"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]

- repo: https://github.com/mgedmin/check-manifest
rev: "0.49"
rev: "0.50"
hooks:
- id: check-manifest
stages: [manual]

- repo: https://github.com/asottile/setup-cfg-fmt
rev: "v2.3.0"
rev: "v2.8.0"
hooks:
- id: setup-cfg-fmt
args: [--include-version-classifiers, --max-py-version=3.11]
Expand All @@ -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]
5 changes: 1 addition & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +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
Expand All @@ -37,7 +34,7 @@ classifiers =
packages = find:
install_requires =
GitPython
python_requires = >=3.7
python_requires = >=3.9
include_package_data = True
package_dir =
= src
Expand Down
3 changes: 2 additions & 1 deletion src/g4edgetestdata/__init__.py
Original file line number Diff line number Diff line change
@@ -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__"]
Loading