Skip to content

Always check for lowercase component type #484

Always check for lowercase component type

Always check for lowercase component type #484

Workflow file for this run

name: Syntax check
on:
push:
branches:
- develop
- main
pull_request:
branches:
- develop
- main
jobs:
flake8:
runs-on: ubuntu-latest
steps:
- name: Python Setup
uses: actions/setup-python@v4
with:
python-version: "3.11"
architecture: x64
- name: Checkout Source
uses: actions/checkout@v3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Lint with flake8
run: |
flake8 pywr_editor tests