Skip to content

Add MIT License file #12

Add MIT License file

Add MIT License file #12

Workflow file for this run

name: CI
on:
push:
branches: [main, dev]
pull_request:
branches: [main]
jobs:
lint:
name: Lint & Format Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install lint tools
run: |
pip install flake8 black
- name: Run flake8 (PEP8)
run: |
flake8 data/ qubo/ qaoa/ classical/ \
--max-line-length=100 \
--exclude=__pycache__,*.ipynb_checkpoints \
--ignore=E402,W503
- name: Run black (formatting check)
run: |
black --check --line-length=100 data/ qubo/ qaoa/ classical/