Variable length instructions for single faults #232
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: | |
pull_request: | |
branches: [ master ] | |
push: | |
jobs: | |
flake8: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: pip3 install flake8 | |
- run: > | |
flake8 --exclude .git,__pycache__,protobuf | |
--max-line-length=88 | |
--ignore=E203,E266,E501,W503 | |
black: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: pip3 install black | |
- run: | | |
black --version | |
black --check --diff *.py analysis/*.py |