Skip to content

Commit 4fdc984

Browse files
authored
Merge branch 'master' into hlines-module
2 parents 51dcb6a + f7e2ce6 commit 4fdc984

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+830
-732
lines changed

.github/release-drafter.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,29 @@ categories:
55
label: 'feature'
66
- title: 'Enhancements'
77
label: 'enhancement'
8-
- title: 'Documentation'
9-
label: 'documentation'
8+
- title: 'Deprecations'
9+
label: 'deprecation'
1010
- title: 'Bug Fixes'
1111
label: 'bug'
12+
- title: 'Documentation'
13+
label: 'documentation'
1214
- title: 'Maintenance'
1315
label: 'maintenance'
14-
- title: 'Deprecations'
15-
label: 'deprecation'
1616
exclude-labels:
1717
- 'skip-changelog'
18-
change-template: '* $TITLE (#$NUMBER)'
18+
category-template: '### $TITLE'
19+
change-template: '* $TITLE ([#$NUMBER]($URL))'
1920
template: |
20-
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3781524.svg)](https://doi.org/10.5281/zenodo.3781524)
21+
## Release v$NEXT_PATCH_VERSION (20YY/MM/DD)
22+
23+
[![Digital Object Identifier for PyGMT v$NEXT_PATCH_VERSION](https://zenodo.org/badge/DOI/10.5281/zenodo.3781524.svg)](https://doi.org/10.5281/zenodo.3781524)
2124
22-
## Highlights
25+
### Highlights
2326
2427
*
2528
2629
$CHANGES
2730
28-
## Contributors
31+
### Contributors
2932
3033
$CONTRIBUTORS

.github/workflows/check-links.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# This workflow checks the links in plaintext and HTML files
2+
name: Check Links
3+
4+
on:
5+
# Uncomment the 'pull_request' line below to trigger the workflow in PR
6+
# pull_request:
7+
# Schedule runs on 12 noon every Sunday
8+
schedule:
9+
- cron: '0 12 * * 0'
10+
11+
jobs:
12+
check_links:
13+
name: Check Links
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout the repository
18+
uses: actions/checkout@v2.3.4
19+
with:
20+
path: repository
21+
22+
- name: Checkout the documentation
23+
uses: actions/checkout@v2.3.4
24+
with:
25+
ref: gh-pages
26+
path: documentation
27+
28+
- name: Link Checker
29+
uses: lycheeverse/lychee-action@v1.0.4
30+
with:
31+
# 429: Too many requests
32+
args: >
33+
--accept 429
34+
--exclude "^https://zenodo.org/badge/DOI/$"
35+
--exclude "^https://github.com/GenericMappingTools/pygmt/pull/[0-9]*$"
36+
--exclude "^https://github.com/GenericMappingTools/pygmt/issues/[0-9]*$"
37+
--exclude "^https://www.generic-mapping-tools.org/_static/gmt-logo.png/$"
38+
--exclude "^https://www.generic-mapping-tools.org/_static/gmt-logo.png/n/n$"
39+
--exclude "^``@ridge.txt$"
40+
--exclude "^git"
41+
--exclude "^file://"
42+
--exclude "^https://docs.generic-mapping-tools.org/latest/%s$"
43+
--verbose
44+
"repository/**/*.rst"
45+
"repository/**/*.md"
46+
"repository/**/*.py"
47+
"documentation/dev/**/*.html"
48+
env:
49+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50+
51+
- name: Create Issue From File
52+
uses: peter-evans/create-issue-from-file@v2.3.2
53+
with:
54+
title: Link Checker Report
55+
content-filepath: ./lychee/out.md

.github/workflows/ci_tests.yaml

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

8787
# Download cached remote files (artifacts) from GitHub
8888
- name: Download remote data from GitHub
89-
uses: dawidd6/action-download-artifact@v2.11.0
89+
uses: dawidd6/action-download-artifact@v2.11.1
9090
with:
9191
workflow: cache_data.yaml
9292
workflow_conclusion: success

.github/workflows/ci_tests_dev.yaml

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

9696
# Download cached remote files (artifacts) from GitHub
9797
- name: Download remote data from GitHub
98-
uses: dawidd6/action-download-artifact@v2.11.0
98+
uses: dawidd6/action-download-artifact@v2.11.1
9999
with:
100100
workflow: cache_data.yaml
101101
workflow_conclusion: success

.pylintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ disable=print-statement,
141141
comprehension-escape,
142142
attribute-defined-outside-init,
143143
bad-continuation,
144-
import-error
144+
import-error,
145+
duplicate-code
145146

146147
# Enable the message, report, category or checker with the given id(s). You can
147148
# either give multiple identifier separated by comma (,) or put this option

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ contribute. What could you possibly offer?
132132
We assure you that the little voice in your head is wrong.
133133

134134
**Being a contributor doesn't just mean writing code**.
135-
Equality important contributions include: writing or proof-reading documentation,
135+
Equally important contributions include: writing or proof-reading documentation,
136136
suggesting or implementing tests, or even giving feedback about the project (including
137137
giving feedback about the contribution process). If you're coming to the project with
138138
fresh eyes, you might see the errors and assumptions that seasoned contributors have
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)