Skip to content

Commit

Permalink
Convert to ewc-plugin structure. Add forcing generation (#7)
Browse files Browse the repository at this point in the history
* 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
BSchilperoort and sverhoeven authored Nov 1, 2023
1 parent 1c4e87f commit 000d739
Show file tree
Hide file tree
Showing 50 changed files with 2,335 additions and 2,280 deletions.
21 changes: 0 additions & 21 deletions .bumpversion.cfg

This file was deleted.

26 changes: 0 additions & 26 deletions .editorconfig

This file was deleted.

31 changes: 0 additions & 31 deletions .githooks/pre-commit

This file was deleted.

77 changes: 0 additions & 77 deletions .github/workflows/build.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/cffconvert.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/documentation.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/lint.yml
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 .
20 changes: 0 additions & 20 deletions .github/workflows/markdown-link-check.yml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/workflows/sonarcloud.yml

This file was deleted.

Loading

0 comments on commit 000d739

Please sign in to comment.