Skip to content

Add ruff

Add ruff #11

Workflow file for this run

name: Lint and Tests
on: [push, pull_request]
jobs:
lint:
name: 'Check Linting'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: pipx install poetry
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
architecture: "x64"
- run: poetry export --only dev --output linter-requirements.txt
- run: pip install -r linter-requirements.txt
- run: ruff check .