summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2021-11-18 19:48:10 -0800
committerJohn L. Villalovos <john@sodarock.com>2021-11-18 20:04:42 -0800
commit2df5bc4b434fdafa15f1cd9002a7749d9f61969c (patch)
treecaf82e8118e22ba63b0f62e90bb8a21883c6b259
parent2cd15ac44d8a45fa2d0dcab80cc933e3871db7f8 (diff)
downloadgitlab-jlvillal/renovate_black.tar.gz
fix: have renovate upgrade black versionjlvillal/renovate_black
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: https://github.com/renovatebot/renovate/issues/7167#issuecomment-904106838 https://github.com/scop/bash-completion/blob/e7497f6ee8232065ec11450a52a1f244f345e2c6/renovate.json#L34-L38 [1] https://github.com/renovatebot/renovate/issues/7167
-rw-r--r--.commitlintrc.json5
-rw-r--r--.renovaterc.json8
2 files changed, 11 insertions, 2 deletions
diff --git a/.commitlintrc.json b/.commitlintrc.json
index c30e5a9..0073e93 100644
--- a/.commitlintrc.json
+++ b/.commitlintrc.json
@@ -1,3 +1,6 @@
{
- "extends": ["@commitlint/config-conventional"]
+ "extends": ["@commitlint/config-conventional"],
+ "rules": {
+ "footer-max-line-length": [2, "always", 200]
+ }
}
diff --git a/.renovaterc.json b/.renovaterc.json
index df0650f..b4b0626 100644
--- a/.renovaterc.json
+++ b/.renovaterc.json
@@ -28,6 +28,12 @@
{
"matchPackagePrefixes": ["types-"],
"groupName": "typing dependencies"
- }
+ },
+ {
+ "matchPackagePatterns": ["(^|/)black$"],
+ "versioning": "pep440",
+ "ignoreUnstable": false,
+ "groupName": "black"
+ }
]
}