Skip to content

Merge pull request #490 from SuperCowPowers/pipeline_work #1470

Merge pull request #490 from SuperCowPowers/pipeline_work

Merge pull request #490 from SuperCowPowers/pipeline_work #1470

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