build(deps-dev): bump pyflakes from 3.0.1 to 3.1.0 #56
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: CI | |
permissions: | |
contents: read | |
on: | |
pull_request: | |
push: | |
env: | |
PYTHON_VERSION: "3.8" | |
jobs: | |
linting: | |
runs-on: ubuntu-latest | |
name: Lint | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v3 | |
- name: Set up Python environment | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
cache: 'pip' # caching pip dependencies | |
- name: Install Python requirements. | |
run: pip install -r requirements.txt -r dev-requirements.txt | |
- name: Black Format | |
uses: psf/black@stable | |
- name: isort | |
uses: isort/isort-action@master | |
with: | |
requirementsFiles: "requirements.txt dev-requirements.txt" | |
- name: flake8 Lint | |
uses: py-actions/flake8@v2 | |
- name: mypy Typecheck | |
run: mypy . |