Skip to content

Add ruff as linter

Add ruff as linter #3

Workflow file for this run

on:
pull_request:
name: Ruff - checker
jobs:
ruff-checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install ruff==0.0.254
- name: Analysing the code with ruff
continue-on-error: true
run: ruff .