Skip to content

Download a pre-built tbb #461

Download a pre-built tbb

Download a pre-built tbb #461

Workflow file for this run

name: "CI: Ruff checking"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Analysing the code with ruff
run: |
ruff format --check $(git ls-files '*.py')
ruff check $(git ls-files '*.py' | grep -v 'src/dsf/__init__.py')