Skip to content

Commit ce979db

Browse files
Merge branch 'main' into add-remote-earth-mdt
2 parents b1f7353 + 48aeafa commit ce979db

19 files changed

+219
-16
lines changed

.github/ISSUE_TEMPLATE/4-release_checklist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: PyGMT release checklist
3-
about: Checklist for a new PyGMT release.
3+
about: Checklist for a new PyGMT release. [For project maintainers only!]
44
title: Release PyGMT vX.Y.Z
55
labels: maintenance
66
assignees: ''

.github/ISSUE_TEMPLATE/5-bump_gmt_checklist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Bump GMT version checklist
3-
about: Checklist for bumping the minimum required GMT version.
3+
about: Checklist for bumping the minimum required GMT version. [For project maintainers only!]
44
title: Bump to GMT X.Y.Z
55
labels: maintenance
66
assignees: ''

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ Fixes #
2020
- [ ] Write detailed docstrings for all functions/methods.
2121
- [ ] If wrapping a new module, open a 'Wrap new GMT module' issue and submit reasonably-sized PRs.
2222
- [ ] If adding new functionality, add an example to docstrings or tutorials.
23-
- [ ] Use underscores (not hyphens) in names of Python files and directories.
2423

2524
**Slash Commands**
2625

.github/workflows/ci_tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ jobs:
187187

188188
# Upload coverage to Codecov
189189
- name: Upload coverage to Codecov
190-
uses: codecov/codecov-action@v5.1.1
190+
uses: codecov/codecov-action@v5.1.2
191191
if: success() || failure()
192192
with:
193193
use_oidc: true

.github/workflows/format-command.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
# Generate token from GenericMappingTools bot
14-
- uses: actions/create-github-app-token@v1.11.0
14+
- uses: actions/create-github-app-token@v1.11.1
1515
id: generate-token
1616
with:
1717
app-id: ${{ secrets.APP_ID }}

.github/workflows/style_checks.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,15 @@ jobs:
5252
rm output.txt
5353
exit $nfiles
5454
fi
55+
56+
- name: Ensure hyphens are not used in names of directories and Python files
57+
run: |
58+
git ls-files '*.py' | grep '-' > output.txt || true
59+
git ls-tree -rd --name-only HEAD | grep '-' >> output.txt || true
60+
nfiles=$(wc --lines output.txt | awk '{print $1}')
61+
if [[ $nfiles > 0 ]]; then
62+
echo "Following directories/files use hyphens in file names:"
63+
cat output.txt
64+
rm output.txt
65+
exit $nfiles
66+
fi

doc/api/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ and store them in GMT's user data directory.
233233
datasets.load_black_marble
234234
datasets.load_blue_marble
235235
datasets.load_earth_age
236+
datasets.load_earth_dist
236237
datasets.load_earth_free_air_anomaly
237238
datasets.load_earth_geoid
238239
datasets.load_earth_magnetic_anomaly

doc/contributing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ our tests. This way, the *main* branch is always stable.
130130
integrated separately.
131131
- Bug fixes should be submitted in separate PRs.
132132
* How to write and submit a PR
133-
- Use underscores for all Python (*.py) files as per
134-
[PEP8](https://www.python.org/dev/peps/pep-0008/), not hyphens. Directory
135-
names should also use underscores instead of hyphens.
133+
- Use underscores for all Python (\*.py) files as per
134+
[PEP8](https://www.python.org/dev/peps/pep-0008/), not hyphens. Directory names
135+
should also use underscores instead of hyphens.
136136
- Describe what your PR changes and *why* this is a good thing. Be as
137137
specific as you can. The PR description is how we keep track of the changes
138138
made to the project over time.

doc/external_resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ to submit a pull request with your recommended addition to the
1313
:::::{grid} 1 2 2 3
1414

1515
::::{grid-item-card} 2024 AGU PREWS9: Mastering Geospatial Visualizations with GMT/PyGMT
16-
:link: https://github.com/GenericMappingTools/agu24workshop
16+
:link: https://www.generic-mapping-tools.org/agu24workshop/
1717
:text-align: center
1818
:margin: 0 3 0 0
1919

pygmt/datasets/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
from pygmt.datasets.earth_age import load_earth_age
88
from pygmt.datasets.earth_day import load_blue_marble
9+
from pygmt.datasets.earth_dist import load_earth_dist
910
from pygmt.datasets.earth_free_air_anomaly import load_earth_free_air_anomaly
1011
from pygmt.datasets.earth_geoid import load_earth_geoid
1112
from pygmt.datasets.earth_magnetic_anomaly import load_earth_magnetic_anomaly

0 commit comments

Comments
 (0)