Skip to content

Add python style guide#17

Merged
deeheber merged 7 commits intomainfrom
add-python-style-guide
Dec 15, 2025
Merged

Add python style guide#17
deeheber merged 7 commits intomainfrom
add-python-style-guide

Conversation

@deeheber
Copy link
Owner

Add code quality tools and CI

Sets up Black, Ruff, and MyPy for the project with automated CI checks.

Changes

New tools:

  • Black for code formatting
  • Ruff for linting with auto-fix
  • MyPy for type checking

Automation:

  • scripts/check-code.sh - runs all checks locally
  • .github/workflows/code-quality.yml - CI that runs on PRs
  • Kiro hook for development workflow

Code improvements:

  • Added type hints to main.py
  • Fixed linting issues
  • Updated pyproject.toml with dev dependencies

Documentation:

  • Python style guide in steering files
  • Updated README with development section

Usage

# Run all checks
./scripts/check-code.sh

# Individual tools
black .
ruff check --fix .
mypy .

@deeheber deeheber merged commit 7f92cb4 into main Dec 15, 2025
1 check passed
@deeheber deeheber deleted the add-python-style-guide branch December 15, 2025 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant