Skip to content

Bump black from 22.3.0 to 24.3.0 #7

Bump black from 22.3.0 to 24.3.0

Bump black from 22.3.0 to 24.3.0 #7

Workflow file for this run

name: Python linting and checks
on:
- push
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.9"
cache: "pip"
- run: pip install -r dev-requirements.txt
- name: Run black
run: |
python -m black --check pg_lupa/
isort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.9"
cache: "pip"
- run: pip install -r dev-requirements.txt
- name: Run isort
run: |
python -m isort --check-only pg_lupa/
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.9"
cache: "pip"
- run: pip install -r dev-requirements.txt
- name: Run mypy
run: |
python -m mypy pg_lupa/
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.9"
cache: "pip"
- run: pip install -r dev-requirements.txt
- name: Run tests
run: |
py.test