Skip to content

Fix linting in script and notebooks; add linting for notebooks by default #18

Fix linting in script and notebooks; add linting for notebooks by default

Fix linting in script and notebooks; add linting for notebooks by default #18

Workflow file for this run

name: Linting
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Install lint dependencies
run: pip install wheel setuptools isort==5.10.1 flake8==4.0.1 black==22.3.0 "black[jupyter]"
- name: Lint the code
run: sh shell/lint.sh