Skip to content

chore(linter): replace black with ruff #149

chore(linter): replace black with ruff

chore(linter): replace black with ruff #149

Workflow file for this run

name: CI
on: [ push, pull_request ]
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Check out repository code
uses: actions/checkout@v4
- run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: '3.7'
cache: poetry
- run: poetry install --no-root
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: poetry install
- run: poetry run ruff check
- run: poetry run ruff format --diff
- run: poetry run pytest