Bump black from 23.10.1 to 24.8.0 #348
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: Python | |
on: | |
push: | |
branches: | |
- master | |
# Run tests for any PRs. | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install -r requirements-dev.txt | |
- name: Lint with black | |
run: | | |
make black-check | |
- name: Lint with flake8 | |
run: | | |
make pep8 | |
- name: Lint with pylint | |
run: | | |
make lint | |
- name: Type check with mypy | |
run: | | |
make mypy | |
- name: Test with pytest | |
run: | | |
make test |