Skip to content

Fix incompatible code with python 3.9 #4

Fix incompatible code with python 3.9

Fix incompatible code with python 3.9 #4

name: Continuous Integration
on: [push, pull_request]
jobs:
lint_and_type_check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
run: poetry install --no-interaction
- name: Run ruff
run: poetry run ruff check snappylapy
- name: Run mypy
run: poetry run mypy snappylapy