diff options
author | John Villalovos <john@sodarock.com> | 2021-11-22 15:03:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-23 00:03:30 +0100 |
commit | 21228cd14fe18897485728a01c3d7103bff7f822 (patch) | |
tree | 5efb4e881c7e4db227a87c701a72b2274d7010bc | |
parent | 178ec1aa5183b3d042fbde29f53f64c410d6caed (diff) | |
download | gitlab-21228cd14fe18897485728a01c3d7103bff7f822.tar.gz |
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:
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.json | 5 | ||||
-rw-r--r-- | .renovaterc.json | 8 |
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" + } ] } |