Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Performance Enhancements #252

Performance Enhancements

Performance Enhancements #252

name: Type Checking
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
type-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "^3.10"
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
run: |
poetry run python -m pip install --upgrade pip
poetry install
poetry add mypy
poetry add types-setuptools
poetry run python -m pip install -e .
- name: Run type checker
run: |
poetry run mypy --config-file pyproject.toml .