diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d9f49cc..e459308 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -15,34 +15,34 @@ repos: - id: mixed-line-ending - repo: https://github.com/asottile/pyupgrade - rev: v2.31.1 + rev: v3.21.2 hooks: - id: pyupgrade args: - "--py38-plus" - - repo: https://github.com/psf/black - rev: 22.3.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.3.1 hooks: - id: black - id: black-jupyter - repo: https://github.com/keewis/blackdoc - rev: v0.3.4 + rev: v0.4.6 hooks: - id: blackdoc - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 7.3.0 hooks: - id: flake8 - repo: https://github.com/PyCQA/isort - rev: 5.10.1 + rev: 8.0.1 hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-prettier - rev: v2.6.2 + rev: v4.0.0-alpha.8 hooks: - id: prettier diff --git a/repo2apptainer/__init__.py b/repo2apptainer/__init__.py index 7cda9b3..20a7f35 100644 --- a/repo2apptainer/__init__.py +++ b/repo2apptainer/__init__.py @@ -1,6 +1,7 @@ #!/usr/bin/env python3 # flake8: noqa -""" Top-level module for repo2apptainer. """ +"""Top-level module for repo2apptainer.""" + from ._version import version as __version__ from .app import Repo2Apptainer from .config import config diff --git a/setup.py b/setup.py index d2b7dc5..5594805 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,7 @@ #!/usr/bin/env python3 """The setup script.""" + from setuptools import find_packages, setup with open('requirements.txt') as f: