Skip to content

Commit a2b1c16

Browse files
smmoreymdpiper
andauthored
smmorey/curriculum updates (#156)
* reset cel output & renamed hillslope_functions notebook * Updated diffusion and functino notebooks * Update linters and actions (#157) * Update pre-commit hooks * Clean lint with updated pre-commit hooks * Allow E704, multiple definitions per line * Manually clean lint found by flake8 * Make test-notebooks job cancelable * Use setup-python action instead of setup-miniconda * Use the conda-forge channel to find nbmake * Also use conda-forge channel for requirements * Clean lint with pre-commit hooks * Replace invalid API key with demo key * Use python=3.13 * Use latest versions of landlab and pymt * Clean lint * Disable nbqa-isort, fighting with black * Clean lint with pre-commit hooks * Disable flake8 rule F821 It's giving incorrect info about undefined variable names that are defined in cells upstream. * Change variable name from l to lx flake8 was warning about an ambiguous variable name, since "l" could be interpreted as "1". * Skip tests on hillslope notebooks We can come back later to get them working with tests. --------- Co-authored-by: Mark Piper <[email protected]>
1 parent 7096709 commit a2b1c16

File tree

4 files changed

+2141
-2
lines changed

4 files changed

+2141
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ repos:
2727
hooks:
2828
- id: nbqa-pyupgrade
2929
args: ["--py38-plus"]
30-
- id: nbqa-isort
30+
# - id: nbqa-isort
3131
- id: nbqa-flake8
32-
args: ["--extend-ignore=E402,F811"]
32+
args: ["--extend-ignore=E402,F811,F821"]
3333
exclude: |
3434
(?x)^(
3535
lessons/landlab/landlab-terrainbento/|

lessons/python/hillslope_diffusion.ipynb

Lines changed: 841 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)