From 2df5bc4b434fdafa15f1cd9002a7749d9f61969c Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Thu, 18 Nov 2021 19:48:10 -0800 Subject: [PATCH] fix: have renovate upgrade black version 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 --- .commitlintrc.json | 5 ++++- .renovaterc.json | 8 +++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.commitlintrc.json b/.commitlintrc.json index c30e5a970..0073e93bd 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 df0650f86..b4b0626a6 100644 --- a/.renovaterc.json +++ b/.renovaterc.json @@ -28,6 +28,12 @@ { "matchPackagePrefixes": ["types-"], "groupName": "typing dependencies" - } + }, + { + "matchPackagePatterns": ["(^|/)black$"], + "versioning": "pep440", + "ignoreUnstable": false, + "groupName": "black" + } ] }