From 5ad3fdac08145d496601895be4bb08b6397647f7 Mon Sep 17 00:00:00 2001 From: Stuart Mumford Date: Wed, 18 Dec 2024 17:02:30 +0000 Subject: [PATCH] Updates from package template (#480) * Update cruft with batchpr * Update pyproject.toml * Update sub_package_update.yml * Update .cruft.json --- .cruft.json | 2 +- .github/workflows/sub_package_update.yml | 2 ++ .pre-commit-config.yaml | 2 +- pyproject.toml | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.cruft.json b/.cruft.json index b9425c0b..13db5573 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/sunpy/package-template", - "commit": "3737aa309d2a695ada046c7868c5683213003f3d", + "commit": "c60ccf2ddc71d3cf126cea15132a15da307864f7", "checkout": null, "context": { "cookiecutter": { diff --git a/.github/workflows/sub_package_update.yml b/.github/workflows/sub_package_update.yml index 0b657f24..3a70299c 100644 --- a/.github/workflows/sub_package_update.yml +++ b/.github/workflows/sub_package_update.yml @@ -86,6 +86,8 @@ jobs: delete-branch: true draft: ${{ steps.cruft_update.outputs.merge_conflicts == '1' }} title: "Updates from the package template" + labels: | + no changelog body: | This is an autogenerated PR, which will applies the latest changes from the [SunPy Package Template](https://github.com/sunpy/package-template). If this pull request has been opened as a draft there are conflicts which need fixing. diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a0037629..23fd5d85 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: # This should be before any formatting hooks like isort - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.8.1" + rev: "v0.8.3" hooks: - id: ruff args: ["--fix"] diff --git a/pyproject.toml b/pyproject.toml index d1a3da4e..c6a0812f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -136,7 +136,7 @@ write_to = "dkist/_version.py" package = "dkist" filename = "CHANGELOG.rst" directory = "changelog/" - issue_format = "`#{issue} https:github.com/DKISTDC/dkist/pull/{issue}>`__" + issue_format = "`#{issue} `__" title_format = "{version} ({project_date})" [[tool.towncrier.type]]