diff mbox series

[ovs-dev,3/5] checkpatch Ignore line length and leading whitespace for debian/*.

Message ID 20220805203452.3060165-4-frode.nordahl@canonical.com
State Deferred
Headers show
Series debian: Update debian package source. | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test fail github build: failed
ovsrobot/github-robot-_ovn-kubernetes fail github build: failed

Commit Message

Frode Nordahl Aug. 5, 2022, 8:34 p.m. UTC
Similar to https://github.com/openvswitch/ovs/commit/9f4f2bb7dc

Signed-off-by: Frode Nordahl <frode.nordahl@canonical.com>
---
 utilities/checkpatch.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py
index ffb873111..8a4a84398 100755
--- a/utilities/checkpatch.py
+++ b/utilities/checkpatch.py
@@ -185,13 +185,13 @@  skip_signoff_check = False
 #
 # Python isn't checked as flake8 performs these checks during build.
 line_length_blacklist = re.compile(
-    r'\.(am|at|etc|in|m4|mk|patch|py|dl)$|debian/rules')
+    r'\.(am|at|etc|in|m4|mk|patch|py|dl)$|debian/.*$')
 
 # Don't enforce a requirement that leading whitespace be all spaces on
 # files that include these characters in their name, since these kinds
 # of files need lines with leading tabs.
 leading_whitespace_blacklist = re.compile(
-    r'\.(mk|am|at)$|debian/rules|\.gitmodules$')
+    r'\.(mk|am|at)$|debian/.*$|\.gitmodules$')
 
 
 def is_subtracted_line(line):