Skip to content

Resolve #445

Resolve #445 #1422

Workflow file for this run

# Run isort and black on pushes to main and any pull requests
name: lint
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Black code formatter
uses: psf/black@stable
with:
version: "22.3"
- name: Isort import sorter
uses: isort/isort-action@v1
- name: Pylint code analysis
run: |
pip install pylint
pylint --disable=all --enable=missing-docstring,broad-exception-raised scico