launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #29616
[Merge] ~cjwatson/turnip:pre-commit-update into turnip:master
Colin Watson has proposed merging ~cjwatson/turnip:pre-commit-update into turnip:master.
Commit message:
Update pre-commit hooks
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~cjwatson/turnip/+git/turnip/+merge/436521
Includes fix for https://github.com/PyCQA/isort/issues/2077.
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/turnip:pre-commit-update into turnip:master.
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index da6c77d..01ec05c 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.1.0
+ rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-ast
@@ -11,14 +11,14 @@ repos:
- id: debug-statements
- id: no-commit-to-branch
- repo: https://github.com/PyCQA/flake8
- rev: 4.0.1
+ rev: 6.0.0
hooks:
- id: flake8
- repo: https://github.com/PyCQA/isort
- rev: 5.10.1
+ rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/get-woke/woke
- rev: v0.17.0
+ rev: v0.19.0
hooks:
- id: woke-from-source
diff --git a/turnip/pack/tests/test_http.py b/turnip/pack/tests/test_http.py
index 735e28c..63372d2 100644
--- a/turnip/pack/tests/test_http.py
+++ b/turnip/pack/tests/test_http.py
@@ -116,7 +116,7 @@ class FakeRoot(object):
self.site_name = 'turnip'
def authenticateWithPassword(self, user, password):
- """Pretends to talk to Launchpad XML-RPC service to authenticate the user.
+ """Pretends to talk to Launchpad XML-RPC to authenticate the user.
This method returns a dict with different data types to make sure
nothing breaks when forwarding this data across the layers.