Skip to content

refactor(utils): reorganize domain-specific utils into natural homes #2918

refactor(utils): reorganize domain-specific utils into natural homes

refactor(utils): reorganize domain-specific utils into natural homes #2918

Workflow file for this run

name: Check Formatting
on: [pull_request]
jobs:
check_formatting:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip
pip install ruff==0.14.9 clang-format==19.1.7
- name: Check Python formatting and linting with ruff
run: |
ruff check areal/
ruff check examples/
ruff format --check areal/
ruff format --check examples/
- name: Check C++ formatting
run: |
find . -type f \( -name '*.c' -o -name '*.h' -o -name '*.cpp' -o -name '*.hpp' -o -name '*.cu' -o -name '*.cuh' \) -exec clang-format --dry-run --Werror {} +