Skip to content

Fix NAV metric (scale by initial capital) #25

Fix NAV metric (scale by initial capital)

Fix NAV metric (scale by initial capital) #25

name: CI - Lint & Typecheck
on:
push:
branches: [ main ]
paths:
- "**/*.py"
- "pyproject.toml"
- "uv.lock"
- ".github/workflows/ci-lint-typecheck.yml"
pull_request:
paths:
- "**/*.py"
- "pyproject.toml"
- "uv.lock"
- ".github/workflows/ci-lint-typecheck.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ruff:
name: Ruff (lint + format)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Ruff check
uses: astral-sh/ruff-action@v3
with:
args: "check"
- name: Ruff format (check)
uses: astral-sh/ruff-action@v3
with:
args: "format --check"
typecheck:
name: Typecheck (pyrefly)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup
uses: ./.github/actions/setup
- name: Run pyrefly
run: uv run pyrefly check