From 5706511b140300614ee35ec95aab5c95939ead35 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 16:56:21 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .gitignore | 2 +- pydra/tasks/CHANGEME/__init__.py | 1 + tools/requirements.txt | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index dd54be1..ca581b7 100644 --- a/.gitignore +++ b/.gitignore @@ -143,4 +143,4 @@ dmypy.json # Generated files /pydra/tasks/CHANGEME/_version.py /related-packages/fileformats/fileformats/medimage_CHANGEME/_version.py -/related-packages/fileformats-extras/fileformats/extras/medimage_CHANGEME/_version.py \ No newline at end of file +/related-packages/fileformats-extras/fileformats/extras/medimage_CHANGEME/_version.py diff --git a/pydra/tasks/CHANGEME/__init__.py b/pydra/tasks/CHANGEME/__init__.py index 887f1a7..f4d7353 100644 --- a/pydra/tasks/CHANGEME/__init__.py +++ b/pydra/tasks/CHANGEME/__init__.py @@ -5,6 +5,7 @@ >>> import pydra.engine >>> import pydra.tasks.CHANGEME """ + try: from ._version import __version__ except ImportError: diff --git a/tools/requirements.txt b/tools/requirements.txt index 3b7ccec..bdc0666 100644 --- a/tools/requirements.txt +++ b/tools/requirements.txt @@ -1,3 +1,3 @@ click >= 8.1.3 looseversion >= 1.1 -pydra >= 0.23 \ No newline at end of file +pydra >= 0.23