Skip to content

linting

linting #94

Workflow file for this run

name: tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Parse Python version
run: sed s/python-// runtime.txt | head > .python-version
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: Install dependencies
run: |
sudo apt install -y libgeos-dev
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: ruff
run: |
ruff check .
ruff format . --check
- name: Test with pytest
run: |
pip install pytest
python -m pytest tests