Skip to content

Commit 3eeefb1

Browse files
committed
Update cruft with batchpr
1 parent 47399ce commit 3eeefb1

4 files changed

Lines changed: 34 additions & 8 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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
7878
- name: Create pull request
7979
if: steps.cruft_json.outputs.has_changes == '1'
80-
uses: peter-evans/create-pull-request@v7
80+
uses: peter-evans/create-pull-request@v8
8181
with:
8282
token: ${{ secrets.GITHUB_TOKEN }}
8383
add-paths: "."
@@ -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.*|sunkit_magex/extern)$"

README.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Code of Conduct
4848

4949
When you are interacting with the SunPy Community you are asked to follow our `Code of Conduct <https://sunpy.org/coc>`__.
5050

51+
<<<<<<<
5152
.. _SunPy Chat: https://app.element.io/#/room/#sunpy:openastronomy.org
5253

5354
Usage of Generative AI
@@ -63,6 +64,21 @@ License
6364
This project is Copyright (c) The SunPy Community and licensed under the terms of the GNU GPL v3+ license.
6465
This package is based upon the `Openastronomy packaging guide <https://github.com/OpenAstronomy/packaging-guide>`_ which is licensed under the BSD 3-clause license.
6566
See the licenses folder for more information.
67+
=======
68+
We expect authentic engagement in our community.
69+
**Do not post the output from Large Language Models or similar generative AI as code, issues or comments on GitHub or any other platform.**
70+
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.
71+
For more information see our documentation on fair and appropriate `AI usage <https://docs.sunpy.org/en/latest/dev_guide/contents/ai_usage.html>`__.
72+
73+
License
74+
-------
75+
76+
This project is Copyright (c) The SunPy Community and licensed under
77+
the terms of the GNU GPL v3+ license. This package is based upon
78+
the `Openastronomy packaging guide <https://github.com/OpenAstronomy/packaging-guide>`__
79+
which is licensed under the BSD 3-clause licence. See the licenses folder for
80+
more information.
81+
>>>>>>>
6682

6783
Contributing
6884
------------
@@ -83,6 +99,16 @@ That's how we all improve, and we are happy to help others learn.
8399

84100
Being an open source contributor doesn't just mean writing code, either.
85101
You can help out by writing documentation, tests, or even giving feedback about the project (and yes - that includes giving feedback about the contribution process).
102+
<<<<<<<
86103
Some of these contributions may be the most valuable to the project as a whole, because you're coming to the project with fresh eyes, so you can see the errors and assumptions that seasoned contributors have glossed over.
87104

88105
Note: This disclaimer was originally written by `Adrienne Lowe <https://github.com/adriennefriend>`_ for a `PyCon talk <https://www.youtube.com/watch?v=6Uj746j9Heo>`_, and was adapted for sunkit-magex based on its use in the README file for the `MetPy project <https://github.com/Unidata/MetPy>`_.
106+
=======
107+
the errors and assumptions that seasoned contributors have glossed over.
108+
109+
Note: This disclaimer was originally written by
110+
`Adrienne Lowe <https://github.com/adriennefriend>`__ for a
111+
`PyCon talk <https://www.youtube.com/watch?v=6Uj746j9Heo>`__, and was adapted by
112+
sunkit-magex based on its use in the README file for the
113+
`MetPy project <https://github.com/Unidata/MetPy>`__.
114+
>>>>>>>

0 commit comments

Comments
 (0)