Skip to content

Merge branch 'add-main-and-utils' of https://github.com/Ingenjorsarbe… #18

Merge branch 'add-main-and-utils' of https://github.com/Ingenjorsarbe…

Merge branch 'add-main-and-utils' of https://github.com/Ingenjorsarbe… #18

name: Lint
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: install gdal lib
run: sudo apt install libgdal-dev
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[lint]"
- name: Lint with ruff
run: |
ruff check --output-format=github src tests
- name: Format with ruff
run: |
ruff format --check src tests