Merge ~cjwatson/launchpad:pre-commit-flake8 into launchpad:master

Proposed by Colin Watson
Status: Merged
Approved by: Colin Watson
Approved revision: 61603781db1be348e850afc44dd8c581d780bedd
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~cjwatson/launchpad:pre-commit-flake8
Merge into: launchpad:master
Diff against target: 13 lines (+5/-0)
1 file modified
.pre-commit-config.yaml (+5/-0)
Reviewer Review Type Date Requested Status
Ioana Lasc Approve
Review via email:

Commit message

Enforce flake8 in pre-commit

To post a comment you must log in.
Revision history for this message
Ioana Lasc (ilasc) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
2index e51afde..602c06d 100644
3--- a/.pre-commit-config.yaml
4+++ b/.pre-commit-config.yaml
5@@ -21,3 +21,8 @@ repos:
6 - id: check-yaml
7 - id: no-commit-to-branch
8 args: [--branch, master, --branch, db-devel]
9+- repo:
10+ rev: 3.9.2
11+ hooks:
12+ - id: flake8
13+ exclude: ^lib/contrib/


People subscribed via source and target branches

to status/vote changes: