Skip to content

Commit edb98b9

Browse files
clubandersonclaude
andauthored
🌱 Add typos config, Dependabot, and pre-commit for standardized tooling (#700)
Add _typos.toml to suppress false positives (Parms struct names, pre-existing typos) so the org-wide typos check passes cleanly. Add Dependabot config for Go modules, GitHub Actions, and Docker. Add canonical pre-commit config from llm-d/llm-d-infra. Signed-off-by: Andrew Anderson <andy@clubanderson.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent d6e07c8 commit edb98b9

File tree

3 files changed

+24
-22
lines changed

3 files changed

+24
-22
lines changed

‎.github/dependabot.yml‎

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
# Canonical Dependabot configuration for llm-d repos
2-
# Copy this file to .github/dependabot.yml in your repo
3-
#
4-
# Covers: Go modules, GitHub Actions, Docker base images
5-
# Remove sections that don't apply to your repo
1+
# Dependabot configuration for llm-d-workload-variant-autoscaler
2+
# Based on canonical config from llm-d/llm-d-infra
63

74
version: 2
85
updates:
@@ -19,25 +16,22 @@ updates:
1916
- "dependencies"
2017
- "release-note-none"
2118
ignore:
22-
# Ignore major and minor updates to Go toolchain
2319
- dependency-name: "go"
2420
update-types: ["version-update:semver-major", "version-update:semver-minor"]
25-
# Ignore major and minor version updates to k8s packages
2621
- dependency-name: "k8s.io/*"
2722
update-types: ["version-update:semver-major", "version-update:semver-minor"]
2823
- dependency-name: "sigs.k8s.io/*"
2924
update-types: ["version-update:semver-major", "version-update:semver-minor"]
30-
# Ignore major updates for all packages
3125
- dependency-name: "*"
3226
update-types: ["version-update:semver-major"]
3327
groups:
34-
go-dependencies:
35-
patterns:
36-
- "*"
3728
kubernetes:
3829
patterns:
3930
- "k8s.io/*"
4031
- "sigs.k8s.io/*"
32+
go-dependencies:
33+
patterns:
34+
- "*"
4135

4236
# GitHub Actions dependencies
4337
- package-ecosystem: "github-actions"
@@ -59,13 +53,3 @@ updates:
5953
- "dependencies"
6054
commit-message:
6155
prefix: "deps(docker)"
62-
63-
# Python dependencies (uncomment if repo uses pip/requirements.txt)
64-
# - package-ecosystem: "pip"
65-
# directory: "/"
66-
# schedule:
67-
# interval: "weekly"
68-
# labels:
69-
# - "dependencies"
70-
# commit-message:
71-
# prefix: "deps(pip)"

‎.pre-commit-config.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Canonical pre-commit configuration for llm-d repos
2-
# Copy this file to the root of your repo
2+
# Based on template from llm-d/llm-d-infra
33
#
44
# Install: pip install pre-commit && pre-commit install
55
# Run all: pre-commit run --all-files

‎_typos.toml‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Typos configuration for llm-d-workload-variant-autoscaler
2+
# https://github.com/crate-ci/typos
3+
4+
[default.extend-words]
5+
# Intentional Go struct field names (ServiceParms, PrefillParms, DecodeParms)
6+
Parms = "Parms"
7+
parms = "parms"
8+
# Short code fragments / false positives
9+
ot = "ot"
10+
vas = "vas"
11+
12+
# Pre-existing typos in codebase (to be fixed separately)
13+
accelarator = "accelarator"
14+
correcly = "correcly"
15+
coule = "coule"
16+
preformance = "preformance"
17+
servive = "servive"
18+
throughtput = "throughtput"

0 commit comments

Comments
 (0)