Skip to content

Merge pull request #34 from Ingenjorsarbete-For-Klimatet/feature/extr… #83

Merge pull request #34 from Ingenjorsarbete-For-Klimatet/feature/extr…

Merge pull request #34 from Ingenjorsarbete-For-Klimatet/feature/extr… #83

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 dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[lint]"
- name: Lint with ruff
run: |
ruff check --output-format=github src tests
- name: Format with ruff
run: |
ruff format --check src tests