summaryrefslogtreecommitdiff
path: root/utilities
diff options
context:
space:
mode:
authorFrode Nordahl <frode.nordahl@canonical.com>2022-07-14 17:55:39 +0200
committerIlya Maximets <i.maximets@ovn.org>2022-07-15 13:43:39 +0200
commit9f4f2bb7dc1df888878902e8b11fef886af928a2 (patch)
tree7e539cc6ae7ff2bf5802f90cf6b7ff3e86f78b12 /utilities
parent02428f7151ea7940864812e19280a4c7b2ae85cb (diff)
downloadopenvswitch-9f4f2bb7dc1df888878902e8b11fef886af928a2.tar.gz
checkpatch: Ignore line length and leading whitespace for debian/*.
Signed-off-by: Frode Nordahl <frode.nordahl@canonical.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'utilities')
-rwxr-xr-xutilities/checkpatch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py
index 8c02ac3ce..de2420e1f 100755
--- a/utilities/checkpatch.py
+++ b/utilities/checkpatch.py
@@ -194,12 +194,12 @@ skip_signoff_check = False
#
# Python isn't checked as flake8 performs these checks during build.
line_length_ignore_list = re.compile(
- r'\.(am|at|etc|in|m4|mk|patch|py)$|debian/rules')
+ r'\.(am|at|etc|in|m4|mk|patch|py)$|^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_ignore_list = re.compile(r'\.(mk|am|at)$|debian/rules')
+leading_whitespace_ignore_list = re.compile(r'\.(mk|am|at)$|^debian/.*$')
def is_subtracted_line(line):