Update flake8-pytest-style requirement from ==1.* to ==2.* #4
Workflow file for this run
This file contains hidden or 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" | |
jobs: | |
black: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- name: Install and run linter | |
run: | | |
pip install black==22.10.0 | |
black --check --verbose --diff --color -S . | |
isort: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- name: Install and run linter | |
run: | | |
pip install isort==5.13.2 | |
isort . --check-only --diff | |
flake8: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- name: Install and run linter | |
run: | | |
pip install flake8==7.1.0 flake8-bugbear | |
flake8 |