Skip to content

Commit 17c25a2

Browse files
committed
formatting + workflow
1 parent e4edd2c commit 17c25a2

File tree

10 files changed

+164
-125
lines changed

10 files changed

+164
-125
lines changed

Diff for: .github/workflows/format.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Format Check
2+
3+
on:
4+
pull_request:
5+
branches: ['main']
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
python-version: ["3.10"]
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: Set up Python ${{ matrix.python-version }}
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install "black[jupyter]"
24+
- name: Check formating with black
25+
run: |
26+
black algorithms qbraid_lab qbraid_sdk --check

Diff for: README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
qBraid is a cloud-based platform for quantum computing.
55

6-
This repository provides demos and tutorials on using the [qBraid SDK](https://github.com/qBraid/qBraid), [qBraid CLI](https://docs.qbraid.com/en/latest/cli/qbraid.html), and qBraid Lab features including [Quantum Jobs](https://docs.qbraid.com/en/latest/lab/quantum_jobs.html), and [GPUs](https://docs.qbraid.com/en/latest/lab/gpu.html).
6+
This repository provides demos and tutorials on using the [qBraid SDK](https://github.com/qBraid/qBraid), [qBraid CLI](https://docs.qbraid.com/projects/cli/en/latest/cli/qbraid.html), and qBraid Lab features including [Quantum Jobs](https://docs.qbraid.com/projects/lab/en/latest/lab/quantum_jobs.html), and [GPUs](https://docs.qbraid.com/projects/lab/en/latest/lab/gpu.html).
77

88
For more resources and reference material, see [qBraid Docs](https://docs.qbraid.com/en/latest/).
9-

0 commit comments

Comments
 (0)