Skip to content

Commit cbd69cc

Browse files
authored
Merge branch 'main' into tutorials-es
2 parents 905743f + 681b256 commit cbd69cc

Some content is hidden

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

51 files changed

+17222
-649
lines changed

.all-contributorsrc

Lines changed: 106 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,8 @@
501501
"profile": "https://github.com/miguelalizo",
502502
"contributions": [
503503
"code",
504-
"review"
504+
"review",
505+
"doc"
505506
]
506507
},
507508
{
@@ -620,7 +621,8 @@
620621
"profile": "http://flpm.dev",
621622
"contributions": [
622623
"review",
623-
"code"
624+
"code",
625+
"translation"
624626
]
625627
},
626628
{
@@ -679,6 +681,108 @@
679681
"contributions": [
680682
"review"
681683
]
684+
},
685+
{
686+
"login": "RobPasMue",
687+
"name": "Roberto Pastor Muela",
688+
"avatar_url": "https://avatars.githubusercontent.com/u/37798125?v=4",
689+
"profile": "http://robpasmue.github.io",
690+
"contributions": [
691+
"code",
692+
"review",
693+
"translation"
694+
]
695+
},
696+
{
697+
"login": "yardasol",
698+
"name": "Olek",
699+
"avatar_url": "https://avatars.githubusercontent.com/u/45364492?v=4",
700+
"profile": "https://github.com/yardasol",
701+
"contributions": [
702+
"code",
703+
"review"
704+
]
705+
},
706+
{
707+
"login": "ayhanxian",
708+
"name": "Han",
709+
"avatar_url": "https://avatars.githubusercontent.com/u/20816603?v=4",
710+
"profile": "https://github.com/ayhanxian",
711+
"contributions": [
712+
"code",
713+
"review"
714+
]
715+
},
716+
{
717+
"login": "hpodzorski-USGS",
718+
"name": "hpodzorski-USGS",
719+
"avatar_url": "https://avatars.githubusercontent.com/u/159824971?v=4",
720+
"profile": "https://github.com/hpodzorski-USGS",
721+
"contributions": [
722+
"code",
723+
"review"
724+
]
725+
},
726+
{
727+
"login": "ncclementi",
728+
"name": "Naty Clementi",
729+
"avatar_url": "https://avatars.githubusercontent.com/u/7526622?v=4",
730+
"profile": "https://www.linkedin.com/in/ncclementi/",
731+
"contributions": [
732+
"code",
733+
"review"
734+
]
735+
},
736+
{
737+
"login": "John-Drake",
738+
"name": "John Drake",
739+
"avatar_url": "https://avatars.githubusercontent.com/u/22374979?v=4",
740+
"profile": "https://github.com/John-Drake",
741+
"contributions": [
742+
"code",
743+
"review"
744+
]
745+
},
746+
{
747+
"login": "Revathyvenugopal162",
748+
"name": "Revathy Venugopal",
749+
"avatar_url": "https://avatars.githubusercontent.com/u/104772255?v=4",
750+
"profile": "https://github.com/Revathyvenugopal162",
751+
"contributions": [
752+
"code",
753+
"review",
754+
"doc"
755+
]
756+
},
757+
{
758+
"login": "tkoyama010",
759+
"name": "Tetsuo Koyama",
760+
"avatar_url": "https://avatars.githubusercontent.com/u/7513610?v=4",
761+
"profile": "https://github.com/tkoyama010",
762+
"contributions": [
763+
"code",
764+
"review",
765+
"doc"
766+
]
767+
},
768+
{
769+
"login": "willingc",
770+
"name": "Carol Willing",
771+
"avatar_url": "https://avatars.githubusercontent.com/u/2680980?v=4",
772+
"profile": "https://hachyderm.io/web/@willingc",
773+
"contributions": [
774+
"review"
775+
]
776+
},
777+
{
778+
"login": "kozo2",
779+
"name": "Kozo Nishida",
780+
"avatar_url": "https://avatars.githubusercontent.com/u/12192?v=4",
781+
"profile": "https://github.com/kozo2",
782+
"contributions": [
783+
"review",
784+
"translation"
785+
]
682786
}
683787
],
684788
"contributorsPerLine": 7,

.github/workflows/build-book.yml

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -15,57 +15,57 @@ jobs:
1515
build-test-book:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v4
1919

20-
- name: Setup Python
21-
uses: actions/setup-python@v5
22-
with:
23-
python-version: '3.9'
20+
- name: Setup Python
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version: "3.9"
2424

25-
- name: Upgrade pip
26-
run: |
27-
# install pip=>20.1 to use "pip cache dir"
28-
python3 -m pip install --upgrade pip
29-
- name: Get pip cache dir
30-
id: pip-cache
31-
run: echo "::set-output name=dir::$(pip cache dir)"
25+
- name: Upgrade pip
26+
run: |
27+
# install pip=>20.1 to use "pip cache dir"
28+
python3 -m pip install --upgrade pip
29+
- name: Get pip cache dir
30+
id: pip-cache
31+
run: echo "::set-output name=dir::$(pip cache dir)"
3232

33-
- name: Cache dependencies
34-
uses: actions/cache@v4
35-
with:
36-
path: ${{ steps.pip-cache.outputs.dir }}
37-
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
38-
restore-keys: |
39-
${{ runner.os }}-pip-
33+
- name: Cache dependencies
34+
uses: actions/cache@v4
35+
with:
36+
path: ${{ steps.pip-cache.outputs.dir }}
37+
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
38+
restore-keys: |
39+
${{ runner.os }}-pip-
4040
41-
- name: Install dependencies
42-
run: python3 -m pip install nox
41+
- name: Install dependencies
42+
run: python3 -m pip install nox
4343

44-
- name: Build book
45-
run: nox -s docs-test
44+
- name: Build book
45+
run: nox -s docs-test
4646

47-
# Save html as artifact
48-
- name: Save book html as artifact for viewing
49-
uses: actions/upload-artifact@v4
50-
with:
51-
name: book-html
52-
path: |
53-
_build/html/
47+
# Save html as artifact
48+
- name: Save book html as artifact for viewing
49+
uses: actions/upload-artifact@v4
50+
with:
51+
name: book-html
52+
path: |
53+
_build/html/
5454
55-
# Push the book's HTML to github-pages
56-
- name: Push to GitHub Pages
57-
# Only push if on main branch
58-
if: github.ref == 'refs/heads/main'
59-
uses: peaceiris/[email protected]
60-
with:
61-
github_token: ${{ secrets.GITHUB_TOKEN }}
62-
publish_dir: ./_build/html
55+
# Push the book's HTML to github-pages
56+
- name: Push to GitHub Pages
57+
# Only push if on main branch
58+
if: github.ref == 'refs/heads/main'
59+
uses: peaceiris/[email protected]
60+
with:
61+
github_token: ${{ secrets.GITHUB_TOKEN }}
62+
publish_dir: ./_build/html
6363

64-
# Test for bad links and ensure alt tags for usability
65-
- name: Check HTML using htmlproofer
66-
uses: chabad360/htmlproofer@master
67-
with:
68-
directory: '_build/html'
69-
arguments: |
70-
--ignore-files "/.+\/_static\/.+/,/genindex.html/"
71-
--ignore-status-codes "404, 403, 429, 503"
64+
# Test for bad links and ensure alt tags for usability
65+
- name: Check HTML using htmlproofer
66+
uses: chabad360/htmlproofer@master
67+
with:
68+
directory: "_build/html"
69+
arguments: |
70+
--ignore-files "/.+\/_static\/.+/,/genindex.html/"
71+
--ignore-status-codes "404, 403, 429, 503"

.gitignore

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,32 @@
1-
_build
2-
.vscode
3-
*/.ipynb_checkpoints/*
1+
# Vscode
2+
.vscode/
3+
4+
# Python
45
tmp/
56
.DS_Store
6-
.nox
7-
__pycache__
87
*notes-from-review.md
98
*.idea*
109
# Grammar / syntax checkers
1110
styles/
1211
# Exclude translation .mo files
1312
locales/*/LC_MESSAGES/*.mo
13+
14+
# Exclude Jupyter Notebook checkpoints
15+
.ipynb_checkpoints/
16+
*/.ipynb_checkpoints/*
17+
18+
# Exclude Python bytecode
19+
__pycache__/
20+
21+
# Exclude build directories
22+
_build/
23+
24+
# Exclude virtual environments
25+
venv/
26+
env/
27+
ENV/
28+
.venv/
29+
.ENV/
30+
*/venv/
31+
.nox
32+
*/.nox/

.pre-commit-config.yaml

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# - Register git hooks: pre-commit install --install-hooks
1313

1414
repos:
15-
1615
# Misc commit checks
1716
- repo: https://github.com/pre-commit/pre-commit-hooks
1817
rev: v4.6.0
@@ -28,23 +27,29 @@ repos:
2827
- repo: https://github.com/codespell-project/codespell
2928
rev: v2.3.0
3029
hooks:
31-
- id: codespell
32-
additional_dependencies:
33-
- tomli
34-
exclude: >
35-
(?x)^(
36-
(.*vale-styles.*)|(.*\.po)
37-
)$
30+
- id: codespell
31+
additional_dependencies:
32+
- tomli
33+
exclude: >
34+
(?x)^(
35+
(.*vale-styles.*)|(.*\.po)
36+
)$
3837
3938
- repo: https://github.com/errata-ai/vale
40-
rev: v3.6.0
39+
rev: v3.7.0
40+
hooks:
41+
- id: vale
42+
43+
- repo: https://github.com/pre-commit/mirrors-prettier
44+
rev: v3.1.0
4145
hooks:
42-
- id: vale
46+
- id: prettier
47+
types_or: [yaml, html, css, scss, javascript, json, toml]
4348

4449
ci:
45-
autofix_prs: false
46-
#skip: [flake8, end-of-file-fixer]
47-
autofix_commit_msg: |
48-
'[pre-commit.ci 🤖] Apply code format tools to PR'
49-
# Update hook versions every month (so we don't get hit with weekly update pr's)
50-
autoupdate_schedule: monthly
50+
autofix_prs: false
51+
#skip: [flake8, end-of-file-fixer]
52+
autofix_commit_msg: |
53+
'[pre-commit.ci 🤖] Apply code format tools to PR'
54+
# Update hook versions every month (so we don't get hit with weekly update pr's)
55+
autoupdate_schedule: monthly

0 commit comments

Comments
 (0)