Skip to content

feat: add Ruff configuration for linting and formatting #2

feat: add Ruff configuration for linting and formatting

feat: add Ruff configuration for linting and formatting #2

Workflow file for this run

name: Ruff
on: [push, pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Lint with ruff
run: |
ruff check .
- name: Format with ruff
run: |
ruff format --check .