[PR #17737] [MERGED] Closes #16248: Replace git commit hook script with pre-commit #15179

Closed
opened 2025-12-30 00:20:27 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/17737
Author: @jeremystretch
Created: 10/11/2024
Status: Merged
Merged: 10/11/2024
Merged by: @jeremystretch

Base: developHead: 16248-pre-commit


📝 Commits (1)

  • 573df2d Closes #16248: Replace git commit hook script with pre-commit

📊 Changes

3 files changed (+71 additions, -17 deletions)

View changed files

.pre-commit-config.yaml (+44 -0)
📝 docs/development/getting-started.md (+22 -17)
📝 scripts/git-hooks/pre-commit (+5 -0)

📄 Description

Fixes: #16248

  • Add a pre-commit configuration
  • Update the developer documentation
  • Add a deprecation warning to the old commit hook script

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/17737 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 10/11/2024 **Status:** ✅ Merged **Merged:** 10/11/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `16248-pre-commit` --- ### 📝 Commits (1) - [`573df2d`](https://github.com/netbox-community/netbox/commit/573df2dea3f0129cec6c9785834faeb6901ead2e) Closes #16248: Replace git commit hook script with pre-commit ### 📊 Changes **3 files changed** (+71 additions, -17 deletions) <details> <summary>View changed files</summary> ➕ `.pre-commit-config.yaml` (+44 -0) 📝 `docs/development/getting-started.md` (+22 -17) 📝 `scripts/git-hooks/pre-commit` (+5 -0) </details> ### 📄 Description ### Fixes: #16248 - Add a `pre-commit` configuration - Update the developer documentation - Add a deprecation warning to the old commit hook script --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:20:27 +01:00
adam closed this issue 2025-12-30 00:20:27 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15179