Skip to content

Commit 7c1b59f

Browse files
SunPyBotCadair
andauthored
Updates from package template (sunpy#221)
* Update cruft with batchpr * Update README.rst --------- Co-authored-by: Stuart Mumford <stuart@cadair.com>
1 parent 480095c commit 7c1b59f

4 files changed

Lines changed: 16 additions & 7 deletions

File tree

.cruft.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/sunpy/package-template",
3-
"commit": "164646d882aa2e972d305c54778aaaf35f707464",
3+
"commit": "4268346dead7b529a3d53df19bcf374bb2bbef34",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -32,7 +32,7 @@
3232
".github/workflows/sub_package_update.yml"
3333
],
3434
"_template": "https://github.com/sunpy/package-template",
35-
"_commit": "164646d882aa2e972d305c54778aaaf35f707464"
35+
"_commit": "4268346dead7b529a3d53df19bcf374bb2bbef34"
3636
}
3737
},
3838
"directory": null

.github/workflows/sub_package_update.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,15 @@ jobs:
145145
// If no issue is open, create a new issue,
146146
// else update the body of the existing issue.
147147
if (result.search.edges.length === 0) {
148-
github.rest.issues.create({
148+
await github.rest.issues.create({
149149
owner: variables.owner,
150-
repo: variables.n ame,
150+
repo: variables.name,
151151
body: issue_body,
152152
title: variables.title,
153153
labels: [variables.label],
154154
});
155155
} else {
156-
github.rest.issues.update({
156+
await github.rest.issues.update({
157157
owner: variables.owner,
158158
repo: variables.name,
159159
issue_number: result.search.edges[0].node.number,

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
repos:
22
# This should be before any formatting hooks like isort
33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: "v0.14.10"
4+
rev: "v0.15.4"
55
hooks:
66
- id: ruff
77
args: ["--fix"]
88
- repo: https://github.com/PyCQA/isort
9-
rev: 7.0.0
9+
rev: 8.0.1
1010
hooks:
1111
- id: isort
1212
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*|extern.*|streamtracer/extern)$"

README.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ Fast streamline tracing in python
55

66
|Documentation Status| |Build Status| |codecov|
77

8+
Usage of Generative AI
9+
----------------------
10+
11+
We expect authentic engagement in our community.
12+
**Do not post the output from Large Language Models or similar generative AI as code, issues or comments on GitHub or any other platform.**
13+
If you use generative AI tools as an aid in developing code or documentation changes, ensure that you fully understand the proposed changes and can explain why they are the correct approach and an improvement to the current state.
14+
For more information see our documentation on fair and appropriate `AI usage <https://docs.sunpy.org/en/latest/dev_guide/contents/ai_usage.html>`__.
15+
16+
817
Documentation
918
-------------
1019

0 commit comments

Comments
 (0)