Skip to content

Conversation

@HicaroD
Copy link

@HicaroD HicaroD commented Jan 8, 2026

Summary

This PR introduces pre-commit hooks to improve code quality and automate testing in the development workflow.

Changes Made

Pre-commit Hook Setup:

  • Added hooks for ruff (linting & formatting), mypy (type checking), and pytest (automated testing)
  • Added pre-commit as a development dependency in pyproject.toml

Documentation Updates:

  • Updated contributing documentation (CONTRIBUTING.md, CONTRIBUTING-pt.md, and docs/contributing.md) to include instructions for installing and using pre-commit hooks

CI/CD Integration:

  • Added new ci command in pyproject.toml for better code quality checking in continuous integration
  • Updated GitHub Actions workflow (.github/workflows/code-quality-gate.yaml) to use the new CI command

Code Quality Fixes:

  • Fixed type annotations to satisfy mypy linter
  • Improved error handling types for mypy compliance

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