Skip to content

Replace dfm update while loop #769

Replace dfm update while loop

Replace dfm update while loop #769

Workflow file for this run

name: Lint
on:
push:
branches: [main]
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v1
- name: Install Conda environment from environment.yml
uses: mamba-org/provision-with-micromamba@main
with:
cache-downloads: true
cache-env: true
- name: Run black version
run: |
black --version
- name: Run black diff
run: |
black --diff .
- name: Run black
run: |
black --check .
- name: Run isort
run: |
isort --check .
- name: Run mypy (strict) on imod_coupler
run: |
mypy --ignore-missing-imports --strict imod_coupler
- name: Run mypy on tests
run: |
mypy --ignore-missing-imports tests