Skip to content

Commit 7dafc61

Browse files
committed
chore: sync up with straight project generation to remove artifacts from commit hooks when meaning to just do cruft update previously
1 parent 026b76f commit 7dafc61

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

.github/workflows/release-python.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
workflow_dispatch:
1313
inputs:
1414
tag:
15-
description: "Git tag to build and release (e.g., v1.2.3). Must already exist."
15+
description: 'Git tag to build and release (e.g., v1.2.3). Must already exist.'
1616
required: true
1717

1818
jobs:
@@ -103,6 +103,7 @@ jobs:
103103
# Optional: TWINE_REPOSITORY if publishing to a custom production index
104104
run: uvx nox -s publish-package # Call the publish-package session (defaults to pypi.org)
105105

106+
106107
# Job 3: Create GitHub Release (Runs regardless of PyPI publish success, relies on build job for info/artifacts)
107108
create_github_release:
108109
name: Create GitHub Release
@@ -134,6 +135,7 @@ jobs:
134135
# The body of the release notes - access the output from the 'build_and_testpypi' job
135136
body: ${{ needs.build_and_testpypi.outputs.changelog_body }} # Access changelog body from dependent job output
136137

138+
137139
files: dist/* # Attach built sdist and wheel files as release assets
138140
# Optional: Mark as a draft release for manual review before publishing
139141
# draft: true

.pre-commit-config.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,11 @@ repos:
6060
- id: prettier
6161
name: Prettier
6262

63-
- repo: https://github.com/doublify/pre-commit-rust
64-
rev: master
65-
hooks:
66-
- id: fmt
67-
- id: clippy
68-
args: ["--all-features", "--", "--write"]
69-
- id: cargo-check
70-
7163
- repo: https://github.com/commitizen-tools/commitizen
7264
rev: v4.8.2
7365
hooks:
7466
- id: commitizen
7567
name: Commitizen
7668
- id: commitizen-branch
7769
name: Commitizen Branch
78-
stages: [commit-msg]
70+
stages: [ commit-msg ]

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def tests_python(session: Session) -> None:
124124
"--cov-report=term",
125125
"--cov-report=xml",
126126
f"--junitxml={junitxml_file}",
127-
"tests/",
127+
"tests/"
128128
)
129129

130130

0 commit comments

Comments
 (0)