pylint 3.3.7 astroid 3.3.8 Python 3.13.5 (main, Jun 12 2025, 00:00:00) [GCC 15.1.1 20250521 (Red Hat 15.1.1-2)] Redirect to /tmp/tmp.rex09PW3g7 and /tmp/tmp.ObQ1OggoKk Tree base: 875c541ea680 ("Merge branch 'net-ethtool-support-including-flow-label-in-the-flow-hash-for-rss'") Now at: d732e942246a ("print: fix spelling error in message") ====== Checking before the patch ====== ************* Module ovs-dpctl tools/testing/selftests/net/openvswitch/ovs-dpctl.py:694:0: C0325: Unnecessary parens after 'return' keyword (superfluous-parens) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:890:0: C0325: Unnecessary parens after 'return' keyword (superfluous-parens) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:897:0: C0325: Unnecessary parens after 'return' keyword (superfluous-parens) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1:0: C0302: Too many lines in module (2775/1000) (too-many-lines) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1:0: C0114: Missing module docstring (missing-module-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1:0: C0103: Module name "ovs-dpctl" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:68:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:69:23: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:73:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:82:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:91:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:111:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:112:4: C0103: Variable name "bitResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:113:4: C0103: Variable name "maskResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:125:8: C0103: Variable name "bitResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:126:8: C0103: Variable name "maskResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:130:12: C0103: Variable name "setFlag" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:132:12: C0103: Variable name "setFlag" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:150:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:153:15: E0606: Possibly using variable 'setFlag' before assignment (possibly-used-before-assignment) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:154:16: C0103: Variable name "bitResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:156:12: C0103: Variable name "maskResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:158:27: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:165:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:180:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:195:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:207:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:219:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:223:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:232:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:232:0: R0911: Too many return statements (7/6) (too-many-return-statements) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:256:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:256:0: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:256:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:346:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:351:25: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:357:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:357:0: C0103: Class name "ovs_dp_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:357:0: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:365:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:365:0: C0103: Class name "ovsactions" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:397:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:397:4: C0103: Class name "psample" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:406:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:407:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:411:24: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:414:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:406:24: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:416:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:430:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:430:4: C0103: Class name "sample" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:439:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:442:24: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:448:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:450:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:452:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:473:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:473:4: C0103: Class name "ctact" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:489:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:489:8: C0103: Class name "natattr" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:505:12: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:519:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:524:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:531:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:536:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:505:28: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:489:8: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:549:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:555:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:557:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:564:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:568:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:473:4: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:574:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:574:4: C0103: Class name "userspace" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:584:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:587:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:593:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:595:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:584:24: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:601:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:615:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:625:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:627:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:629:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:631:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:663:20: W0702: No exception type(s) specified (bare-except) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:615:4: R0912: Too many branches (18/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:668:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:668:4: R0914: Too many local variables (30/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:698:44: W0108: Lambda may not be necessary (unnecessary-lambda) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:733:16: C0103: Variable name "parsedLen" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:670:8: R1702: Too many nested blocks (6/5) (too-many-nested-blocks) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:670:8: R1702: Too many nested blocks (7/5) (too-many-nested-blocks) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:670:8: R1702: Too many nested blocks (7/5) (too-many-nested-blocks) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:886:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:895:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:668:4: R0912: Too many branches (39/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:668:4: R0915: Too many statements (139/50) (too-many-statements) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:734:16: W0612: Unused variable 'lst' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:900:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:900:0: C0103: Class name "ovskey" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:938:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:938:4: C0103: Class name "ovs_key_proto" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:951:8: R0913: Too many arguments (7/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:951:8: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:970:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:970:33: C0103: Argument name "typeInst" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:991:27: R1714: Consider merging these comparisons with 'in' by using 'c in (',', ')')'. Use a set instead if elements are hashable. (consider-using-in) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:981:12: W0612: Unused variable 'keybits' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:982:12: W0612: Unused variable 'maskbits' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1013:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1020:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1024:34: E1102: f[2] is not callable (not-callable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1027:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1031:34: E1102: f[2] is not callable (not-callable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1036:34: E1102: f[2] is not callable (not-callable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1041:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1041:4: C0103: Class name "ethaddr" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1064:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1064:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1082:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1082:4: C0103: Class name "ovs_key_ipv4" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1117:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1117:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1135:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1135:4: C0103: Class name "ovs_key_ipv6" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1168:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1168:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1186:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1186:4: C0103: Class name "ovs_key_tcp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1187:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1187:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1205:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1205:4: C0103: Class name "ovs_key_udp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1206:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1206:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1224:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1224:4: C0103: Class name "ovs_key_sctp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1225:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1225:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1243:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1243:4: C0103: Class name "ovs_key_icmp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1254:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1254:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1272:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1272:4: C0103: Class name "ovs_key_icmpv6" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1281:12: W0233: __init__ method from a non direct base class 'ovs_key_proto' is called (non-parent-init-called) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1273:8: W0231: __init__ method from base class 'ovs_key_icmp' is not called (super-init-not-called) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1273:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1273:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1291:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1291:4: C0103: Class name "ovs_key_arp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1333:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1333:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1351:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1351:4: C0103: Class name "ovs_key_nd" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1369:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1369:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1387:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1387:4: C0103: Class name "ovs_key_ct_tuple_ipv4" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1416:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1416:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1434:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1434:4: C0103: Class name "ovs_key_ct_tuple_ipv6" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1469:12: W0233: __init__ method from a non direct base class 'ovs_key_proto' is called (non-parent-init-called) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1461:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1461:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1434:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1479:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1479:4: C0103: Class name "ovs_key_tunnel" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1502:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1502:8: R0914: Too many local variables (19/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1548:20: W0719: Raising too general exception: Exception (broad-exception-raised) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1502:8: R0912: Too many branches (19/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1594:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1601:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1603:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1605:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1607:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1609:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1611:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1613:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1615:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1617:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1631:15: C1802: Do not use `len(SEQUENCE)` without comparison to determine if a sequence is empty (use-implicit-booleaness-not-len) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1594:8: R0912: Too many branches (15/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1594:24: W0613: Unused argument 'mask' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1594:35: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1636:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1636:4: C0103: Class name "ovs_key_mpls" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1636:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1639:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1715:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1840:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1845:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1845:4: C0103: Class name "ovs_packet_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1845:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1865:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1880:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1840:0: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1885:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1889:4: C0103: Class name "dp_cmd_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1906:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1906:8: C0103: Class name "dpstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1906:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1914:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1914:8: C0103: Class name "megaflowstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1914:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1889:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1927:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1948:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1949:22: C0103: Argument name "shouldUpcall" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1949:42: C0103: Argument name "versionStr" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1971:16: W0612: Unused variable 'i' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1991:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2013:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2020:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2020:4: C0103: Class name "ovs_vport_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2034:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2034:8: C0103: Class name "vportopts" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2034:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2041:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2041:8: C0103: Class name "vportstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2041:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2020:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2053:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2053:4: E0213: Method 'type_to_str' should have "self" as first argument (no-self-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2054:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2064:25: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2066:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2066:4: E0213: Method 'str_to_type' should have "self" as first argument (no-self-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2067:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2077:25: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2084:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2109:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2109:4: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2109:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2123:8: C0103: Variable name "TUNNEL_DEFAULTS" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2167:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2176:11: C0121: Comparison 'p == None' should be 'p is None' (singleton-comparison) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2192:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2213:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2217:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2218:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2218:4: C0103: Class name "ovs_flow_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2233:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2233:8: C0103: Class name "flowstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2233:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2239:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2244:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2281:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2294:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2308:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2309:12: C0103: Variable name "OVS_UFID_F_OMIT_KEY" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2310:12: C0103: Variable name "OVS_UFID_F_OMIT_MASK" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2311:12: C0103: Variable name "OVS_UFID_F_OMIT_ACTIONS" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2326:12: C0103: Variable name "uuidRawObj" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2308:41: W0613: Unused argument 'dpidx' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2452:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2462:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2464:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2464:22: W0613: Unused argument 'packetmsg' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2467:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2467:21: W0613: Unused argument 'packetmsg' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2471:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2471:0: C0103: Class name "psample_sample" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2491:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2496:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2498:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2501:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2503:23: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2505:16: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2471:0: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2508:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2508:0: C0103: Class name "psample_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2508:0: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2517:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2522:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2517:0: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2532:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2532:0: R0914: Too many local variables (16/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2539:10: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2541:8: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2544:10: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2548:8: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2552:10: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2555:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2566:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2568:16: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2578:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2578:0: R0914: Too many local variables (25/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2706:23: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2711:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2713:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2721:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2726:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2738:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2741:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2752:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2756:29: R1719: The if expression can be replaced with 'test' (simplifiable-if-expression) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2760:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2768:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2578:0: R0912: Too many branches (34/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2578:0: R0915: Too many statements (121/50) (too-many-statements) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2578:9: W0613: Unused argument 'argv' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:15:0: W0611: Unused import struct (unused-import) ----------------------------------- Your code has been rated at 7.48/10 ====== Checking the tree with the patch ====== ************* Module ovs-dpctl tools/testing/selftests/net/openvswitch/ovs-dpctl.py:694:0: C0325: Unnecessary parens after 'return' keyword (superfluous-parens) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:890:0: C0325: Unnecessary parens after 'return' keyword (superfluous-parens) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:897:0: C0325: Unnecessary parens after 'return' keyword (superfluous-parens) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1:0: C0302: Too many lines in module (2775/1000) (too-many-lines) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1:0: C0114: Missing module docstring (missing-module-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1:0: C0103: Module name "ovs-dpctl" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:68:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:69:23: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:73:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:82:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:91:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:111:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:112:4: C0103: Variable name "bitResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:113:4: C0103: Variable name "maskResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:125:8: C0103: Variable name "bitResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:126:8: C0103: Variable name "maskResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:130:12: C0103: Variable name "setFlag" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:132:12: C0103: Variable name "setFlag" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:150:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:153:15: E0606: Possibly using variable 'setFlag' before assignment (possibly-used-before-assignment) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:154:16: C0103: Variable name "bitResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:156:12: C0103: Variable name "maskResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:158:27: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:165:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:180:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:195:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:207:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:219:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:223:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:232:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:232:0: R0911: Too many return statements (7/6) (too-many-return-statements) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:256:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:256:0: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:256:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:346:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:351:25: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:357:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:357:0: C0103: Class name "ovs_dp_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:357:0: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:365:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:365:0: C0103: Class name "ovsactions" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:397:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:397:4: C0103: Class name "psample" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:406:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:407:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:411:24: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:414:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:406:24: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:416:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:430:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:430:4: C0103: Class name "sample" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:439:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:442:24: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:448:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:450:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:452:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:473:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:473:4: C0103: Class name "ctact" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:489:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:489:8: C0103: Class name "natattr" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:505:12: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:519:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:524:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:531:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:536:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:505:28: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:489:8: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:549:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:555:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:557:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:564:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:568:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:473:4: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:574:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:574:4: C0103: Class name "userspace" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:584:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:587:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:593:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:595:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:584:24: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:601:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:615:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:625:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:627:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:629:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:631:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:663:20: W0702: No exception type(s) specified (bare-except) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:615:4: R0912: Too many branches (18/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:668:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:668:4: R0914: Too many local variables (30/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:698:44: W0108: Lambda may not be necessary (unnecessary-lambda) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:733:16: C0103: Variable name "parsedLen" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:670:8: R1702: Too many nested blocks (6/5) (too-many-nested-blocks) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:670:8: R1702: Too many nested blocks (7/5) (too-many-nested-blocks) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:670:8: R1702: Too many nested blocks (7/5) (too-many-nested-blocks) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:886:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:895:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:668:4: R0912: Too many branches (39/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:668:4: R0915: Too many statements (139/50) (too-many-statements) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:734:16: W0612: Unused variable 'lst' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:900:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:900:0: C0103: Class name "ovskey" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:938:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:938:4: C0103: Class name "ovs_key_proto" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:951:8: R0913: Too many arguments (7/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:951:8: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:970:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:970:33: C0103: Argument name "typeInst" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:991:27: R1714: Consider merging these comparisons with 'in' by using 'c in (',', ')')'. Use a set instead if elements are hashable. (consider-using-in) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:981:12: W0612: Unused variable 'keybits' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:982:12: W0612: Unused variable 'maskbits' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1013:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1020:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1024:34: E1102: f[2] is not callable (not-callable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1027:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1031:34: E1102: f[2] is not callable (not-callable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1036:34: E1102: f[2] is not callable (not-callable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1041:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1041:4: C0103: Class name "ethaddr" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1064:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1064:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1082:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1082:4: C0103: Class name "ovs_key_ipv4" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1117:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1117:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1135:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1135:4: C0103: Class name "ovs_key_ipv6" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1168:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1168:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1186:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1186:4: C0103: Class name "ovs_key_tcp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1187:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1187:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1205:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1205:4: C0103: Class name "ovs_key_udp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1206:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1206:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1224:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1224:4: C0103: Class name "ovs_key_sctp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1225:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1225:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1243:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1243:4: C0103: Class name "ovs_key_icmp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1254:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1254:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1272:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1272:4: C0103: Class name "ovs_key_icmpv6" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1281:12: W0233: __init__ method from a non direct base class 'ovs_key_proto' is called (non-parent-init-called) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1273:8: W0231: __init__ method from base class 'ovs_key_icmp' is not called (super-init-not-called) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1273:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1273:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1291:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1291:4: C0103: Class name "ovs_key_arp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1333:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1333:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1351:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1351:4: C0103: Class name "ovs_key_nd" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1369:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1369:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1387:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1387:4: C0103: Class name "ovs_key_ct_tuple_ipv4" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1416:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1416:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1434:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1434:4: C0103: Class name "ovs_key_ct_tuple_ipv6" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1469:12: W0233: __init__ method from a non direct base class 'ovs_key_proto' is called (non-parent-init-called) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1461:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1461:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1434:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1479:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1479:4: C0103: Class name "ovs_key_tunnel" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1502:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1502:8: R0914: Too many local variables (19/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1548:20: W0719: Raising too general exception: Exception (broad-exception-raised) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1502:8: R0912: Too many branches (19/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1594:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1601:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1603:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1605:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1607:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1609:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1611:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1613:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1615:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1617:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1631:15: C1802: Do not use `len(SEQUENCE)` without comparison to determine if a sequence is empty (use-implicit-booleaness-not-len) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1594:8: R0912: Too many branches (15/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1594:24: W0613: Unused argument 'mask' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1594:35: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1636:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1636:4: C0103: Class name "ovs_key_mpls" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1636:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1639:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1715:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1840:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1845:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1845:4: C0103: Class name "ovs_packet_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1845:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1865:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1880:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1840:0: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1885:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1889:4: C0103: Class name "dp_cmd_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1906:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1906:8: C0103: Class name "dpstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1906:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1914:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1914:8: C0103: Class name "megaflowstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1914:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1889:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1927:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1948:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1949:22: C0103: Argument name "shouldUpcall" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1949:42: C0103: Argument name "versionStr" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1971:16: W0612: Unused variable 'i' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1991:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2013:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2020:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2020:4: C0103: Class name "ovs_vport_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2034:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2034:8: C0103: Class name "vportopts" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2034:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2041:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2041:8: C0103: Class name "vportstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2041:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2020:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2053:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2053:4: E0213: Method 'type_to_str' should have "self" as first argument (no-self-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2054:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2064:25: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2066:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2066:4: E0213: Method 'str_to_type' should have "self" as first argument (no-self-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2067:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2077:25: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2084:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2109:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2109:4: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2109:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2123:8: C0103: Variable name "TUNNEL_DEFAULTS" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2167:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2176:11: C0121: Comparison 'p == None' should be 'p is None' (singleton-comparison) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2192:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2213:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2217:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2218:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2218:4: C0103: Class name "ovs_flow_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2233:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2233:8: C0103: Class name "flowstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2233:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2239:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2244:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2281:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2294:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2308:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2309:12: C0103: Variable name "OVS_UFID_F_OMIT_KEY" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2310:12: C0103: Variable name "OVS_UFID_F_OMIT_MASK" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2311:12: C0103: Variable name "OVS_UFID_F_OMIT_ACTIONS" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2326:12: C0103: Variable name "uuidRawObj" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2308:41: W0613: Unused argument 'dpidx' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2452:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2462:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2464:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2464:22: W0613: Unused argument 'packetmsg' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2467:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2467:21: W0613: Unused argument 'packetmsg' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2471:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2471:0: C0103: Class name "psample_sample" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2491:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2496:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2498:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2501:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2503:23: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2505:16: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2471:0: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2508:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2508:0: C0103: Class name "psample_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2508:0: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2517:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2522:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2517:0: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2532:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2532:0: R0914: Too many local variables (16/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2539:10: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2541:8: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2544:10: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2548:8: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2552:10: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2555:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2566:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2568:16: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2578:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2578:0: R0914: Too many local variables (25/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2706:23: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2711:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2713:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2721:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2726:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2738:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2741:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2752:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2756:29: R1719: The if expression can be replaced with 'test' (simplifiable-if-expression) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2760:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2768:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2578:0: R0912: Too many branches (34/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2578:0: R0915: Too many statements (121/50) (too-many-statements) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2578:9: W0613: Unused argument 'argv' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:15:0: W0611: Unused import struct (unused-import) ------------------------------------------------------------------ Your code has been rated at 7.48/10 (previous run: 7.48/10, +0.00)