Skip to content

Add pre-commit configs and update README for pre-commit setup#95

Open
abalasa-amd wants to merge 4 commits intomainfrom
abalasa.precommit-checks
Open

Add pre-commit configs and update README for pre-commit setup#95
abalasa-amd wants to merge 4 commits intomainfrom
abalasa.precommit-checks

Conversation

@abalasa-amd
Copy link
Copy Markdown
Contributor

Motivation

Ensure consistent code quality across commits.

Technical Details

  • Introduced a new .pre-commit-config.yaml file to set up pre-commit hooks for linting and formatting.
  • Updated README.md to include instructions for installing and using pre-commit hooks, ensuring consistent code quality across commits.
  • Added a CI job in ci.yml to run pre-commit checks on changed files during pull requests.

Test Plan

Followed instructions locally and it worked.

Test Result

Run checks while creating the commit using git commit

Submission Checklist

- Introduced a new .pre-commit-config.yaml file to set up pre-commit hooks for linting and formatting.
- Updated README.md to include instructions for installing and using pre-commit hooks, ensuring consistent code quality across commits.
- Added a CI job in ci.yml to run pre-commit checks on changed files during pull requests.
abalasa added 3 commits March 5, 2026 16:50
…uctions

- Updated Makefile to include a new target for installing pre-commit hooks.
- Adjusted CI workflow to ensure linting is a prerequisite for testing jobs.
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