Skip to content

Commit 6a1d0c1

Browse files
committed
Merge branch 'feature/conform' into develop
2 parents bf89679 + 365da0f commit 6a1d0c1

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ body:
77
- type: markdown
88
attributes:
99
value: >
10-
Thank you for taking the time to file a feature request. Before continuing, please take some time to check the existing [issues](https://github.com/colour-science/colour-visuals/issues) and also the [draft release notes](https://gist.github.com/KelSolaar/4a6ebe9ec3d389f0934b154fec8df51d).
10+
Thank you for taking the time to file a feature request. Before continuing, please take some time to check the existing [issues](https://github.com/colour-science/colour-visuals/issues).
1111
1212
- type: textarea
1313
attributes:

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ is available to guide the process: https://www.colour-science.org/contributing/.
1919
- [ ] Pre-commit hooks have been run and passed.
2020

2121
<!-- The unit tests can be invoked with `uv run invoke tests` -->
22-
<!-- Pyright can be started with `pyright --threads --skipunannotated` -->
22+
<!-- Pyright can be started with `uv run pyright --threads --skipunannotated` -->
2323

2424
**Documentation**
2525

tasks.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,9 @@ def tag(ctx: Context) -> None:
373373
result = ctx.run("git rev-parse --abbrev-ref HEAD", hide="both")
374374

375375
if result.stdout.strip() != "develop": # pyright: ignore
376-
msg = "Are you still on a feature or master branch?"
377-
raise RuntimeError(msg)
376+
error = "Are you still on a feature or master branch?"
377+
378+
raise RuntimeError(error)
378379

379380
with open(os.path.join(PYTHON_PACKAGE_NAME, "__init__.py")) as file_handle:
380381
file_content = file_handle.read()
@@ -403,11 +404,12 @@ def tag(ctx: Context) -> None:
403404
tags.add(remote_tag.split("refs/tags/")[1].replace("refs/tags/", "^{}"))
404405
version_tags = sorted(tags)
405406
if f"v{version}" in version_tags:
406-
msg = (
407+
error = (
407408
f'A "{PYTHON_PACKAGE_NAME}" "v{version}" tag already exists in '
408409
f"remote repository!"
409410
)
410-
raise RuntimeError(msg)
411+
412+
raise RuntimeError(error)
411413

412414
ctx.run(f"git flow release start v{version}")
413415
ctx.run(f"git flow release finish v{version}")

0 commit comments

Comments
 (0)