Skip to content

Improving Comments in codebase #76

Improving Comments in codebase

Improving Comments in codebase #76

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