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 <acon...@redhat.com>
  Acked-by: Aaron Conole <acon...@redhat.com>
  Acked-by: Eelco Chaudron <echau...@redhat.com>
  Signed-off-by: Dumitru Ceara <dce...@redhat.com>
  Signed-off-by: Ilya Maximets <i.maxim...@ovn.org>

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

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
-- 
2.31.1

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to