Skip to content

Conversation

@AliYmn
Copy link

@AliYmn AliYmn commented Mar 12, 2025

Pre-commit Configuration

This PR adds a comprehensive pre-commit configuration to our project. We've been using pre-commit hooks extensively in our professional projects and have seen significant benefits:

Tools Included

  • Ruff: Fast Python linter and formatter
  • isort: Import sorting and organization
  • autoflake: Removes unused imports and variables
  • pyupgrade: Upgrades syntax to newer Python versions
  • conventional-commits-check: Enforces standardized commit messages

Usage

pre-commit install && \
pre-commit autoupdate && \
pre-commit install --hook-type commit-msg -f

This configuration has proven invaluable in our other projects by maintaining high code quality standards and streamlining our development workflow.

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