Skip to content

Use collections.abc.Sequence instead of tuple and list #48

Use collections.abc.Sequence instead of tuple and list

Use collections.abc.Sequence instead of tuple and list #48

Workflow file for this run

name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[ci]"
- name: Lint with ruff
run: |
ruff check .
- name: Lint with black
run: |
black --check .
- name: Lint with mypy
run: |
mypy
- name: Run tests
run: |
pytest