Skip to content

Add ruff, black, and mypy checks to CI#1

Merged
srichs merged 1 commit into
mainfrom
codex/add-ruff,-mypy,-and-black-checks-to-ci
Feb 11, 2026
Merged

Add ruff, black, and mypy checks to CI#1
srichs merged 1 commit into
mainfrom
codex/add-ruff,-mypy,-and-black-checks-to-ci

Conversation

@srichs

@srichs srichs commented Feb 11, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Ensure consistent code quality and static analysis by running ruff, black --check, and mypy during CI.

Description

  • Added a lint job to .github/workflows/ci.yml that runs on ubuntu-latest with Python 3.11 and executes pip install -e .[lint], ruff check ., black --check ., and mypy spot_api.
  • Updated pyproject.toml to include black>=24.0 in the [project.optional-dependencies].lint group alongside mypy and ruff so the CI job can install all lint tools via .[lint].

Testing

  • Attempted to run python -m pip install --upgrade pip && pip install -e .[lint] && ruff check . && black --check . && mypy spot_api locally, but the dependency installation failed due to network/proxy restrictions, so lint checks could not be executed in this environment (installation failed).
  • Existing tests and docs CI jobs were left unchanged and continue to run as before.

Codex Task

@srichs srichs merged commit 40c4aef into main Feb 11, 2026
6 of 8 checks passed
@srichs srichs deleted the codex/add-ruff,-mypy,-and-black-checks-to-ci branch February 11, 2026 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant