diff mbox series

[ovs-dev] checkpatch: Ignore yml files when checking line lengths.

Message ID 20230705104827.1151641-1-dceara@redhat.com
State Accepted
Headers show
Series [ovs-dev] checkpatch: Ignore yml files when checking line lengths. | expand

Checks

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

Commit Message

Dumitru Ceara July 5, 2023, 10:48 a.m. UTC
This ports the following OVS commit:
  checkpatch: Ignore yml files when checking line lengths.

  As far as I can tell they're used mostly for CI job definitions and
  these tend to result in long lines.

  Reported-at: https://mail.openvswitch.org/pipermail/ovs-dev/2023-June/405796.html
  Suggested-by: Aaron Conole <aconole@redhat.com>
  Acked-by: Aaron Conole <aconole@redhat.com>
  Acked-by: Eelco Chaudron <echaudro@redhat.com>
  Signed-off-by: Dumitru Ceara <dceara@redhat.com>
  Signed-off-by: Ilya Maximets <i.maximets@ovn.org>

Signed-off-by: Dumitru Ceara <dceara@redhat.com>
---
 utilities/checkpatch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py
index da3224bbca..5467d604d1 100755
--- a/utilities/checkpatch.py
+++ b/utilities/checkpatch.py
@@ -196,7 +196,7 @@  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)$|^debian/.*$')
+    r'\.(am|at|etc|in|m4|mk|patch|py|yml)$|^debian/.*$')
 
 # Don't enforce a requirement that leading whitespace be all spaces on
 # files that include these characters in their name, since these kinds