Skip to content

Raise minimum Python version to 3.10 #649

Raise minimum Python version to 3.10

Raise minimum Python version to 3.10 #649

Workflow file for this run

---
name: CI
on:
pull_request:
branches:
- main
jobs:
format_with_black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install black
run: |
pip install black
- name: Format with black
run: |
python -m black --check src
lint_with_ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install ruff
run: |
pip install ruff
- name: Lint with ruff
run: |
ruff check --output-format=github src