Skip to content

Implement ruff check and format in CI #3

Implement ruff check and format in CI

Implement ruff check and format in CI #3

Workflow file for this run

name: Code linting
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Lint the code
run: |
ruff check .