Skip to content

Commit a1d64ea

Browse files
committed
chore: add pip ecosystem to dependabot and migrate lint task to requirements.txt
- enable Dependabot updates for pip dependencies in the repo root - introduce requirements.txt with pinned versions for cpplint and cppcheck - update mise lint task to install from requirements.txt instead of ad‑hoc pip installs
1 parent 5dfd728 commit a1d64ea

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,10 @@ updates:
55
directory: /
66
schedule:
77
interval: monthly
8+
9+
- package-ecosystem: pip
10+
directory: /
11+
schedule:
12+
interval: monthly
13+
allow:
14+
- dependency-type: direct

mise.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ python = "3.12"
44
[tasks.lint]
55
description = "Run linters"
66
run = [
7-
"python -m pip install --upgrade pip",
8-
"pip install cpplint",
9-
"cpplint --recursive ."
7+
"pip install -r requirements.txt",
8+
"cpplint --recursive .",
109
]

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
cppcheck==1.5.1
2+
cpplint==2.0.2

0 commit comments

Comments
 (0)