Skip to content

Conversation

@nearlyforget
Copy link

Description
This PR introduces a comprehensive pre-commit configuration and a
corresponding GitHub Actions workflow to automate code quality checks,
formatting, and security linting across the repository.

Tools & Hooks Added

  • Python (Ruff): Uses the ruff linter and formatter for extremely fast
    Python code quality checks (replaces Black, Flake8, and isort).
  • Frontend/Node.js (Prettier): Automatically formats TypeScript, TSX,
    JavaScript, JSON, CSS, and HTML files.
  • Documentation: Formats Markdown files and checks for common typos
    using codespell.
  • Security: Includes detect-private-key to prevent accidental commits
    of sensitive information.
  • General Hygiene: Ensures consistent trailing whitespace removal and
    end-of-file newlines.

CI/CD Integration

  • GitHub Actions (linter.yml): A new workflow is added that runs
    these same checks on every push and pull request to the main branch.
    This ensures that no unformatted or lint-failing code is merged.

@0x8000-0000
Copy link
Contributor

How is this different from #16 ?

@nearlyforget nearlyforget force-pushed the feat/add-pre-commit branch 3 times, most recently from 790d73b to 5a4aa6b Compare February 11, 2026 02:25
@nearlyforget nearlyforget marked this pull request as ready for review February 12, 2026 03:49
@nearlyforget nearlyforget requested review from a team February 12, 2026 03:49
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.

2 participants