Skip to content

fix(graphics): accept Sequence color inputs & HSB typing fixes #112

fix(graphics): accept Sequence color inputs & HSB typing fixes

fix(graphics): accept Sequence color inputs & HSB typing fixes #112

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
build-test-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test]
- name: Install linting and typing tools
run: |
pip install --upgrade pip
pip install ruff mypy
# Optional: run Pyright (Pylance-like) via Node if you want editor-style diagnostics
# - name: Setup Node (for pyright)
# uses: actions/setup-node@v4
# with:
# node-version: '18'
# - name: Install pyright
# run: npm install -g pyright
# - name: Run pyright
# run: pyright
- name: Run Ruff
run: ruff check .
- name: Run mypy
run: mypy --config-file pyproject.toml
- name: Run tests
run: pytest -q