Correct bare except #59
Workflow file for this run
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: Linting | |
on: | |
push: | |
jobs: | |
black: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Black Check | |
uses: psf/black@stable | |
isort: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: '3.x' | |
- name: Install isort | |
run: | | |
pip install isort | |
- name: run isort | |
run: | | |
isort --check-only --quiet . | |
flake8: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: '3.x' | |
- name: Install flake8 | |
run: | | |
pip install flake8 | |
- name: run flake8 | |
run: | | |
flake8 . --count --show-source --statistics |