Replace dfm update while loop #769
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
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 |