Merge ~jugmac00/launchpad:prevent-committing-debug-statements into launchpad:master

Proposed by Jürgen Gmach
Status: Merged
Approved by: Jürgen Gmach
Approved revision: d0f1bd7c2867d0251800f02e0226ede29c40a4fa
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~jugmac00/launchpad:prevent-committing-debug-statements
Merge into: launchpad:master
Diff against target: 13 lines (+2/-0)
1 file modified
.pre-commit-config.yaml (+2/-0)
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+409817@code.launchpad.net

Commit message

prevent committing debug statements

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) :
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 f7b7ef1..7c8290a 100644
3--- a/.pre-commit-config.yaml
4+++ b/.pre-commit-config.yaml
5@@ -19,6 +19,8 @@ repos:
6 lib/lp/bugs/tests/testfiles/unescaped_control_character.xml
7 )$
8 - id: check-yaml
9+ - id: debug-statements
10+ exclude: systemdocs\.py
11 - id: no-commit-to-branch
12 args: [--branch, master, --branch, db-devel]
13 - repo: https://github.com/PyCQA/flake8

Subscribers

People subscribed via source and target branches

to status/vote changes: