Skip to content

Fix Logout

Fix Logout #254

Workflow file for this run

name: Linting
on: [push, pull_request]
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: psf/black@stable
djlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- name: Install djlint
run: pip install djlint
- name: Run djlint
run: djlint --check --lint opendrift_leeway_webgui
isort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: jamescurtin/isort-action@master
with:
configuration: --check-only -n
pylint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install package locally
run: pip install -e .[dev]
- name: Run pylint
run: pre-commit run pylint --all-files