Skip to content

flake8/linter cleanup #1477

flake8/linter cleanup

flake8/linter cleanup #1477

Workflow file for this run

name: Python Linting
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install flake8 black
- name: Run Black (Code Formatting)
run: |
black --line-length=120 src/sageworks applications tests
- name: Run Flake8 (Linting)
run: |
flake8 --exclude '*generated*' src/sageworks applications tests