From 7827605c8e460b36b224d38b808d4e88586dfc8e Mon Sep 17 00:00:00 2001 From: Peter Van Dyken Date: Tue, 28 Mar 2023 17:03:22 -0400 Subject: [PATCH] Fix version regexes and update authors --- pyproject.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c0ae401a..a64e79e9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,12 @@ description = "BIDS integration into snakemake workflows" readme = "README.md" repository = "https://github.com/akhanf/snakebids" documentation = "https://snakebids.readthedocs.io/" -authors = ["Ali Khan "] +authors = [ + "Ali Khan ", + "Peter Van Dyken ", + "Tristan Kuehn ", + "Jason Kai ", +] license = "MIT" packages = [ { include = "snakebids" } @@ -21,7 +26,7 @@ bump = true [tool.poetry-dynamic-versioning.substitution] files = ['snakebids/project_template/cookiecutter.json', 'snakebids/__init__.py'] -patterns = ["(^\\s+\"snakebids_version\":\\s*\")[^'\"](\")", "(^__version__\\s*=\\s*\")[^'\"](\")"] +patterns = ["(^\\s+\"snakebids_version\":\\s*\")[^'\"]*(\")", "(^__version__\\s*(?::.*?)?=\\s*['\"])[^'\"]*(['\"])"] [tool.poetry.dependencies] python = ">=3.7,<3.12"