Skip to content

feat: refactor draw server into an API interface and visualization of both graph and hypergraph on the same plot #13

feat: refactor draw server into an API interface and visualization of both graph and hypergraph on the same plot

feat: refactor draw server into an API interface and visualization of both graph and hypergraph on the same plot #13

Workflow file for this run

name: Code Quality
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
quality:
name: Code quality checks
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
enable-cache: true
cache-dependency-glob: "**/uv.lock"
- name: Set up Python
run: uv python install 3.11
- name: Install dependencies
run: uv sync --group dev
- name: Check code formatting with Black
run: uv run black --check --diff hyperdb/ tests/
- name: Check import sorting with isort
run: uv run isort --check-only --diff hyperdb/ tests/
- name: Lint with flake8
run: uv run flake8 hyperdb/ tests/
- name: Type checking with mypy
run: uv run mypy hyperdb/ --ignore-missing-imports
- name: Security check with bandit
run: uv run bandit -r hyperdb/ --severity-level medium
continue-on-error: true
- name: Run safety check
run: uv run safety check
continue-on-error: true