Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run black to test code linting
uses: psf/black@stable
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
options: "--check --verbose"
jupyter: true
- name: Run isort to organize imports
uses: isort/isort-action@master
enable-cache: true
cache-dependency-glob: "pyproject.toml"
- name: Set up Python
run: uv python install 3.10
- name: Install the project
run: uv sync --all-extras --dev
- name: Check formatting
run: |
uv run black --check --verbose .
uv run docformatter --check -r . --exclude venv
uv run ruff check --select I .
linting:
runs-on: ubuntu-latest
strategy:
Expand All @@ -32,7 +39,7 @@ jobs:
run: uv sync --all-extras --dev
- name: Lint
run: |
uv run pytest . --pylint -m pylint --pylint-rcfile=.pylintrc
uv run ruff check .
static-type-checking:
runs-on: ubuntu-latest
strategy:
Expand Down
Loading
Loading