Skip to content

deps: Bump python to 3.12 #898

deps: Bump python to 3.12

deps: Bump python to 3.12 #898

Workflow file for this run

name: Python linting
on: [push, pull_request, workflow_dispatch]
jobs:
check-formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
cache: 'pip'
cache-dependency-path: requirements/*.txt
- name: Install dependencies
run: |
python -m ensurepip
python -m pip install --upgrade pip
pip install -r requirements/linux.txt -r requirements/linux-dev.txt
pip install --no-deps -e .
- name: Check for formatting/linting errors
run: |
isort --check-only .
black --check .
flake8 --count --statistics .