Skip to content

infra: onboard to use ruff #153

infra: onboard to use ruff

infra: onboard to use ruff #153

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Check code format
on:
pull_request:
branches:
- main
- feature/**
permissions:
contents: read
jobs:
check-code-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.9'
- name: Install dependencies
run: |
pip install tox
- name: Run code format checks
run: |
tox -e linters_check