Work for Marple energy flexibility pilot #42
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
# Run linting and basic file format checks | |
name: Lint | |
on: | |
pull_request: | |
workflow_call: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: black Lint | |
uses: psf/black@stable | |
with: | |
options: "--check --diff" | |
src: "." | |
version: "22.8.0" | |
- name: isort Lint | |
uses: isort/isort-action@master | |
- name: flake8 Lint | |
uses: py-actions/flake8@v2 |