chore: agent readiness improvements

- Added PR template
- Configured dependabot and renovate for min_release_age
- Enabled secret scanning via gitleaks pre-commit hook
- Enabled naming (N) and cyclomatic complexity (C90) checks in ruff

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Entire-Checkpoint: 81809e52b50a
This commit is contained in:
Manoj Bajaj
2026-05-08 13:51:36 +05:30
parent bbe42f2469
commit 7db1f5aa97
5 changed files with 44 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
+19
View File
@@ -0,0 +1,19 @@
## Description
<!-- Describe your changes in detail -->
## Motivation and Context
<!-- Why is this change required? What problem does it solve? -->
<!-- If it fixes an open issue, please link to the issue here. -->
## How Has This Been Tested?
<!-- Please describe in detail how you tested your changes. -->
## Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
## Checklist:
- [ ] My code follows the code style of this project.
- [ ] I have read the **CONTRIBUTING** document.
- [ ] All new and existing tests passed.
+4
View File
@@ -5,3 +5,7 @@ repos:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.2
hooks:
- id: gitleaks
+4 -1
View File
@@ -67,5 +67,8 @@ line-length = 120
target-version = "py313"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
select = ["E", "F", "I", "UP", "N", "C90"]
ignore = []
[tool.ruff.lint.mccabe]
max-complexity = 10
+7
View File
@@ -0,0 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"minimumReleaseAge": "10 days"
}