Skip to content

Merge pull request #202 from jaketanderson/github_actions #174

Merge pull request #202 from jaketanderson/github_actions

Merge pull request #202 from jaketanderson/github_actions #174

Workflow file for this run

name: lint
on:
push:
paths:
- 'paprika/**.py'
- 'docs/**.py'
- 'setup.cfg'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install the package
run: |
python setup.py develop --no-deps
- name: Install isort / flake8 / black
run: |
pip install isort flake8 black
- name: Run isort
run: |
isort --profile=black --check-only paprika
- name: Run black
run: |
black paprika --check
- name: Run flake8
run: |
flake8 paprika