← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~cjwatson/lp-codeimport:flake8-6.1.0 into lp-codeimport:master

 

Colin Watson has proposed merging ~cjwatson/lp-codeimport:flake8-6.1.0 into lp-codeimport:master.

Commit message:
pre-commit: Update to flake8 6.1.0

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/lp-codeimport/+git/lp-codeimport/+merge/452535

This spotted an unused assignment shadowed by a property.
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/lp-codeimport:flake8-6.1.0 into lp-codeimport:master.
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 6cb6e67..e631592 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -12,7 +12,7 @@ repos:
         exclude: systemdocs\.py
     -   id: no-commit-to-branch
 -   repo: https://github.com/PyCQA/flake8
-    rev: 6.0.0
+    rev: 6.1.0
     hooks:
     -   id: flake8
         exclude: ^lib/contrib/
diff --git a/lib/lp/services/scripts/base.py b/lib/lp/services/scripts/base.py
index 55d7ff0..813bb2c 100644
--- a/lib/lp/services/scripts/base.py
+++ b/lib/lp/services/scripts/base.py
@@ -116,7 +116,6 @@ class LaunchpadScript:
     txn = None
     usage = None
     description = None
-    lockfilepath = None
     loglevel = logging.INFO
 
     # State for the log_unhandled_exceptions decorator.