Update dependency pytest to v7.4.4 #2015
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: Lint Python | |
on: [pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
- name: Install dependencies | |
run: | |
python -m pip install flake8 isort nbqa | |
- uses: psf/black@stable | |
with: | |
options: "--check" | |
version: "22.3.0" | |
- name: Run Flake8 Linter | |
run: flake8 | |
- name: Run isort | |
run: isort --check-only --profile black --diff . | |
- name: Run flake8 on notebooks | |
run: nbqa flake8 . |