Skip to content

Commit 8a73467

Browse files
committed
Merge branch 'feature/conform' into develop
2 parents 27a661c + 875ac03 commit 8a73467

File tree

4 files changed

+8
-16
lines changed

4 files changed

+8
-16
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-datasets/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-datasets/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

MANIFEST.in

Lines changed: 0 additions & 10 deletions
This file was deleted.

tasks.py

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

386386
if result.stdout.strip() != "develop": # pyright: ignore
387-
msg = "Are you still on a feature or master branch?"
388-
raise RuntimeError(msg)
387+
error = "Are you still on a feature or master branch?"
388+
389+
raise RuntimeError(error)
389390

390391
with open(os.path.join(PYTHON_PACKAGE_NAME, "__init__.py")) as file_handle:
391392
file_content = file_handle.read()
@@ -414,11 +415,12 @@ def tag(ctx: Context) -> None:
414415
tags.add(remote_tag.split("refs/tags/")[1].replace("refs/tags/", "^{}"))
415416
version_tags = sorted(tags)
416417
if f"v{version}" in version_tags:
417-
msg = (
418+
error = (
418419
f'A "{PYTHON_PACKAGE_NAME}" "v{version}" tag already exists in '
419420
f"remote repository!"
420421
)
421-
raise RuntimeError(msg)
422+
423+
raise RuntimeError(error)
422424

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

0 commit comments

Comments
 (0)