Skip to content

Validate experimental hybrid certificate data #61

Validate experimental hybrid certificate data

Validate experimental hybrid certificate data #61

Workflow file for this run

name: Lint
on:
push:
branches:
- main
- master
- develop
pull_request:
branches:
- main
- master
- develop
jobs:
lint:
name: Lint and Format Check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Cache pip dependencies
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-${{ runner.os }}-lint-${{ hashFiles('requirements.txt', 'pyproject.toml') }}
restore-keys: |
pip-${{ runner.os }}-lint-
- name: Upgrade pip
run: |
python -m pip install --upgrade pip setuptools wheel
- name: Install lint dependencies
run: |
pip install -r requirements.txt
pip install -e .
pip install black ruff
- name: Check formatting with Black
run: |
black --check src tests examples benchmarks
- name: Run Ruff
run: |
ruff check src tests examples benchmarks