Colin Watson has proposed merging ~cjwatson/launchpad:pre-commit-flake8 into 
launchpad:master.

Commit message:
Enforce flake8 in pre-commit

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/406655
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of 
~cjwatson/launchpad:pre-commit-flake8 into launchpad:master.
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index e51afde..602c06d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -21,3 +21,8 @@ repos:
     -   id: check-yaml
     -   id: no-commit-to-branch
         args: [--branch, master, --branch, db-devel]
+-   repo: https://github.com/PyCQA/flake8
+    rev: 3.9.2
+    hooks:
+    -   id: flake8
+        exclude: ^lib/contrib/
_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help   : https://help.launchpad.net/ListHelp

Reply via email to