POC implementation for mutliproof proposal in #177 #158
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 Python | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/lint-python.yml' | |
- 'poc/**' | |
pull_request: | |
paths: | |
- '.github/workflows/lint-python.yml' | |
- 'poc/**' | |
jobs: | |
test: | |
name: "Check formatting" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install tools | |
run: pip install pyflakes autopep8 isort | |
- name: Run pyflakes | |
working-directory: poc | |
run: pyflakes *.py | |
- name: Run autopep8 | |
working-directory: poc | |
run: autopep8 --diff --exit-code *.py | |
- name: Run isort | |
working-directory: poc | |
run: isort --check . |