-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert to ewc-plugin structure. Add forcing generation (#7)
* Convert to ewc-plugin structure. Add forcing * Make forcing and ewc utility functions work * Finish CMIP forcing notebook * Move NBs to /docs. Add CI, license, improve config * Tidying up * Add toml to dependencies * When wflow is not found check exception in Pythonic way * Fix diagnostic script for moselle example * Remove unused parameterset from notebook * Remove unnecessary from_name method from WflowBmi --------- Co-authored-by: Stefan Verhoeven <[email protected]>
- Loading branch information
1 parent
1c4e87f
commit 000d739
Showing
50 changed files
with
2,335 additions
and
2,280 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Python package | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
|
||
jobs: | ||
lint: | ||
name: Linting build | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.10" | ||
- name: Python info | ||
shell: bash -l {0} | ||
run: | | ||
which python3 | ||
python3 --version | ||
- name: Upgrade pip and install ruff | ||
run: python3 -m pip install --upgrade pip ruff | ||
- name: Check code formatting against standards | ||
run: ruff format . --check | ||
- name: Check style against standards | ||
run: ruff check . |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.