Skip to content

Added pre-commit hooks support (#1138)#1149

Open
gvatsal60 wants to merge 3 commits intodevcontainers:mainfrom
gvatsal60:feature/pre-commit-hook_support_1138
Open

Added pre-commit hooks support (#1138)#1149
gvatsal60 wants to merge 3 commits intodevcontainers:mainfrom
gvatsal60:feature/pre-commit-hook_support_1138

Conversation

@gvatsal60
Copy link
Copy Markdown
Contributor

Issue #1138

Changes Made

  • devcontainer.json:

    • Implemented the pre-commit feature and included pre-commit hook installation.
    • Added default settings for the Visual Studio Code workspace.
  • Introduced the .pre-commit-config.yaml file containing hooks. Currently, the hooks are commented out, as enabling them will require significant modifications. It may be beneficial to enable them incrementally.

Some work still remains to enhance robustness and usability.

@gvatsal60 gvatsal60 requested a review from a team as a code owner October 13, 2024 10:38
@gvatsal60 gvatsal60 force-pushed the feature/pre-commit-hook_support_1138 branch from 16be955 to 0425c3a Compare September 18, 2025 13:25
Copilot AI review requested due to automatic review settings December 29, 2025 05:07
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces pre-commit hooks support to the repository by adding a .pre-commit-config.yaml configuration file. The configuration includes various linting and validation hooks, though most are currently commented out to allow for incremental adoption.

Key changes:

  • Added .pre-commit-config.yaml with hook configurations for file checks, linting, formatting, and security scanning
  • Most hooks are commented out to minimize initial impact and allow gradual enablement

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gvatsal60 gvatsal60 force-pushed the feature/pre-commit-hook_support_1138 branch from 2aedbc8 to 16e7a44 Compare March 31, 2026 08:23
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