Skip to content

Adding comments in the codebase #83

Adding comments in the codebase

Adding comments in the codebase #83

name: Python Static Analysis
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
jobs:
job:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/setup-python
- name: Install Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install black 'black[jupyter]' flake8 isort
# https://github.com/actions/checkout
- name: Checkout repository
uses: actions/checkout@v3
- name: Run isort
run: isort --check .
- name: Run black
run: black --check .
- name: Run flake8
run: flake8