Skip to content

Checking code quality. #18

Checking code quality.

Checking code quality. #18

Workflow file for this run

name: Run code quality check with Ruff
run-name: Checking code quality.
on:
pull_request:
branches:
- main
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
check_code_quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff==0.3.7
- name: Check quality
run: |
ruff check .
ruff format . --check