add fragmenter #170
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |