Skip to content

Commit 21228cd

Browse files
chore: have renovate upgrade black version (#1700)
renovate is not upgrading the `black` package. There is an open issue[1] about this. Also change .commitlintrc.json to allow 200 character footer lines in the commit message. Otherwise would be forced to split the URL across multiple lines making it un-clickable :( Use suggested work-arounds from: renovatebot/renovate#7167 (comment) https://github.com/scop/bash-completion/blob/e7497f6ee8232065ec11450a52a1f244f345e2c6/renovate.json#L34-L38 [1] renovatebot/renovate#7167
1 parent 178ec1a commit 21228cd

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.commitlintrc.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"extends": ["@commitlint/config-conventional"]
2+
"extends": ["@commitlint/config-conventional"],
3+
"rules": {
4+
"footer-max-line-length": [2, "always", 200]
5+
}
36
}

.renovaterc.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@
2828
{
2929
"matchPackagePrefixes": ["types-"],
3030
"groupName": "typing dependencies"
31-
}
31+
},
32+
{
33+
"matchPackagePatterns": ["(^|/)black$"],
34+
"versioning": "pep440",
35+
"ignoreUnstable": false,
36+
"groupName": "black"
37+
}
3238
]
3339
}

0 commit comments

Comments
 (0)