launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #30848
[Merge] ~lgp171188/launchpad:pin-black-version-used-by-blackdoc into launchpad:master
Guruprasad has proposed merging ~lgp171188/launchpad:pin-black-version-used-by-blackdoc into launchpad:master.
Commit message:
Pin the version of black used by the blackdoc pre-commit hook
... to the same version as the one used by the black pre-commit
hook.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~lgp171188/launchpad/+git/launchpad/+merge/459576
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~lgp171188/launchpad:pin-black-version-used-by-blackdoc into launchpad:master.
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 05418f1..6a72ffa 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -36,6 +36,8 @@ repos:
|utilities/community-contributions\.py
)$
- repo: https://github.com/psf/black-pre-commit-mirror
+ # Update the pinned version of black below used by
+ # blackdoc when updating this version.
rev: 23.10.1
hooks:
- id: black
@@ -73,6 +75,10 @@ repos:
- id: blackdoc
args: ["-l", "78"]
exclude: ^doc/.*
+ additional_dependencies:
+ # Update this pinned version too when updating the black pre-commit
+ # hook's version above.
+ - black==23.10.1
- repo: https://git.launchpad.net/lp-lint-doctest
rev: '0.5'
hooks:
diff --git a/requirements/launchpad.txt b/requirements/launchpad.txt
index 4f2ba94..0575fe1 100644
--- a/requirements/launchpad.txt
+++ b/requirements/launchpad.txt
@@ -149,7 +149,7 @@ python-debian==0.1.32
python-keystoneclient==3.21.0
python-openid2==3.2
python-swiftclient==3.8.1
-PyYAML==5.3.1
+PyYAML==6.0.1
rabbitfixture==0.5.3
requests-file==1.4.3
requests-toolbelt==0.9.1