Skip to content

PyCC: Version 1.0

PyCC: Version 1.0 #53

Workflow file for this run

name: format
on:
push:
branches:
- '*'
paths:
- src/**
- test/**
- examples/**
- pyproject.toml
jobs:
check_format:
name: Check proper code formatting
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install black isort
- name: Run format check
run: |
python -m black . --check
- name: Run import check
run: |
python -m isort . --check