Skip to content

Migrate to poetry and pyproject.toml, adopt ruff and pre-commit, reorganize tests and CI, and update docs #2

Migrate to poetry and pyproject.toml, adopt ruff and pre-commit, reorganize tests and CI, and update docs

Migrate to poetry and pyproject.toml, adopt ruff and pre-commit, reorganize tests and CI, and update docs #2

Workflow file for this run

name: lint
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.3
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: poetry install --no-root --no-interaction --only dev
- name: Run linting
run: poetry run make lint