Get real current notifications on macOS #555
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 | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
workflow_dispatch: | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5.2.0 | |
with: | |
python-version: '3.x' | |
- run: | | |
python -m pip install --upgrade pip | |
python -m pip install -U .[dev] | |
- name: black | |
run: | | |
black --check --diff src tests | |
- name: flake8 | |
run: | | |
flake8 src tests examples | |
- name: isort | |
run: | | |
isort src tests examples | |
mypy: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ macos-latest, ubuntu-latest, windows-latest ] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5.2.0 | |
with: | |
python-version: '3.x' | |
- run: | | |
python -m pip install --upgrade pip | |
python -m pip install -U .[dev] | |
- name: mypy | |
run: | | |
mypy src tests examples |