Skip to content

ling

ling #169

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/[email protected]
- uses: actions/[email protected]
with:
python-version: '3.9'
- 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