pylint 4.0.5 astroid 4.0.4 Python 3.14.6 (main, Jun 11 2026, 00:00:00) [GCC 16.1.1 20260515 (Red Hat 16.1.1-2)] Redirect to /tmp/tmp.7FpabtDKPv and /tmp/tmp.QnbcVob22Z Tree base: 2fbade662450 ("Merge branch 'net-mctp-usb-add-support-for-mctp-over-usb-v1-1'") Now at: 5ee66f720253 ("selftests/net/openvswitch: add SCTP flow key support and test") ====== Checking before the patch ====== ************* Module ovs-dpctl tools/testing/selftests/net/openvswitch/ovs-dpctl.py:721:0: C0325: Unnecessary parens after 'return' keyword (superfluous-parens) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:981:0: C0325: Unnecessary parens after 'return' keyword (superfluous-parens) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:988: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 (3169/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:67:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:68:23: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:72:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:81:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:90:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:110:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:111:4: C0103: Variable name "bitResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:112:4: C0103: Variable name "maskResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:124:8: C0103: Variable name "bitResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:125:8: C0103: Variable name "maskResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:129:12: C0103: Variable name "setFlag" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:131:12: C0103: Variable name "setFlag" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:149:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:152:15: E0606: Possibly using variable 'setFlag' before assignment (possibly-used-before-assignment) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:153:16: C0103: Variable name "bitResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:155:12: C0103: Variable name "maskResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:157:27: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:164:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:179:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:194:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:206:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:218:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:222:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:231:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:231:0: R0911: Too many return statements (7/6) (too-many-return-statements) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:255:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:255:0: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:255:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:345:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:350:25: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:356:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:356:0: C0103: Class name "ovs_dp_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:356:0: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:364:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:364:0: C0103: Class name "ovsactions" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:396:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:406:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:406:4: C0103: Class name "psample" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:415:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:416:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:420:24: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:423:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:415:24: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:425:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:439:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:439:4: C0103: Class name "push_vlan" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:439:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:442:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:442:4: C0103: Class name "sample" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:451:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:454:24: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:460:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:462:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:464:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:485:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:485:4: C0103: Class name "ctact" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:501:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:501:8: C0103: Class name "natattr" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:517:12: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:531:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:536:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:543:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:548:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:517:28: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:501:8: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:561:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:567:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:569:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:576:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:580:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:485:4: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:586:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:586:4: C0103: Class name "userspace" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:596:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:599:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:605:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:607:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:596:24: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:613:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:627:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:637:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:639:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:641:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:643:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:661:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:690:20: W0702: No exception type(s) specified (bare-except) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:627:4: R0912: Too many branches (21/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:627:4: R0915: Too many statements (60/50) (too-many-statements) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:695:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:695:4: R0914: Too many local variables (40/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:725:44: W0108: Lambda may not be necessary (unnecessary-lambda) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:770:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:778:32: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:784:32: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:790:32: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:794:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:824:16: C0103: Variable name "parsedLen" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:697:8: R1702: Too many nested blocks (6/5) (too-many-nested-blocks) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:697:8: R1702: Too many nested blocks (7/5) (too-many-nested-blocks) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:697:8: R1702: Too many nested blocks (7/5) (too-many-nested-blocks) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:977:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:986:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:695:4: R0912: Too many branches (52/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:695:4: R0915: Too many statements (184/50) (too-many-statements) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:825:16: W0612: Unused variable 'lst' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:997:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:997:0: C0103: Class name "ovskey" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1035:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1035:4: C0103: Class name "ovs_key_proto" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1048:8: R0913: Too many arguments (7/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1048:8: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1067:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1067:33: C0103: Argument name "typeInst" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1088: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:1078:12: W0612: Unused variable 'keybits' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1079:12: W0612: Unused variable 'maskbits' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1110:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1117:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1121:34: E1102: f[2] is not callable (not-callable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1124:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1128:34: E1102: f[2] is not callable (not-callable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1133:34: E1102: f[2] is not callable (not-callable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1138:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1138:4: C0103: Class name "ethaddr" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1161:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1161:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1179:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1179:4: C0103: Class name "ovs_key_ipv4" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1214:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1214:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1232:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1232:4: C0103: Class name "ovs_key_ipv6" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1270:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1270:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1288:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1288:4: C0103: Class name "ovs_key_tcp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1289:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1289:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1307:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1307:4: C0103: Class name "ovs_key_udp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1308:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1308:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1326:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1326:4: C0103: Class name "ovs_key_sctp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1327:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1327:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1345:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1345:4: C0103: Class name "ovs_key_icmp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1358:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1358:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1376:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1376:4: C0103: Class name "ovs_key_icmpv6" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1385: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:1377: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:1377:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1377:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1395:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1395:4: C0103: Class name "ovs_key_arp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1437:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1437:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1455:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1455:4: C0103: Class name "ovs_key_nd" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1473:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1473:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1491:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1491: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:1520:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1520:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1538:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1538: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:1573: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:1565:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1565:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1538:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1583:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1583:4: C0103: Class name "ovs_key_tunnel" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1606:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1606:8: R0914: Too many local variables (19/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1652:20: W0719: Raising too general exception: Exception (broad-exception-raised) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1606:8: R0912: Too many branches (19/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1698:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1705:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1707:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1709:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1711:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1713:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1715:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1717:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1719:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1721:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1735: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:1698:8: R0912: Too many branches (15/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1698:24: W0613: Unused argument 'mask' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1698:35: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1740:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1740:4: C0103: Class name "ovs_key_mpls" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1740:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1759:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1760:15: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1763:4: R0914: Too many local variables (16/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1804:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1818:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1823:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1832:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1842:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1852:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1867:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1763:4: R0912: Too many branches (32/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1763:4: R0915: Too many statements (91/50) (too-many-statements) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1903:24: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1926:16: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1931:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2022:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2144:34: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2154:0: C0103: Class name "encap_ovskey" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2191:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2196:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2196:4: C0103: Class name "ovs_packet_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2196:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2216:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2231:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2191:0: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2236:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2240:4: C0103: Class name "dp_cmd_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2257:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2257:8: C0103: Class name "dpstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2257:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2265:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2265:8: C0103: Class name "megaflowstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2265:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2240:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2278:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2299:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2300:22: C0103: Argument name "shouldUpcall" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2300:42: C0103: Argument name "versionStr" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2322:16: W0612: Unused variable 'i' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2342:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2364:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2371:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2371:4: C0103: Class name "ovs_vport_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2385:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2385:8: C0103: Class name "vportopts" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2385:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2392:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2392:8: C0103: Class name "vportstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2392:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2371:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2404:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2404:4: E0213: Method 'type_to_str' should have "self" as first argument (no-self-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2405:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2415:25: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2417:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2417:4: E0213: Method 'str_to_type' should have "self" as first argument (no-self-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2418:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2428:25: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2435:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2460:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2460:4: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2460:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2474:8: C0103: Variable name "TUNNEL_DEFAULTS" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2526:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2535:11: C0121: Comparison 'p == None' should be 'p is None' (singleton-comparison) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2551:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2572:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2576:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2577:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2577:4: C0103: Class name "ovs_flow_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2592:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2592:8: C0103: Class name "flowstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2592:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2598:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2603:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2640:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2653:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2667:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2668: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:2669: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:2670: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:2685:12: C0103: Variable name "uuidRawObj" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2667:41: W0613: Unused argument 'dpidx' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2831:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2841:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2843:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2843:22: W0613: Unused argument 'packetmsg' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2846:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2846:21: W0613: Unused argument 'packetmsg' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2850:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2850:0: C0103: Class name "psample_sample" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2870:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2875:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2877:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2880:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2882:23: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2884:16: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2850:0: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2887:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2887:0: C0103: Class name "psample_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2887:0: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2896:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2901:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2896:0: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2911:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2911:0: R0914: Too many local variables (16/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2918:10: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2920:8: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2923:10: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2927:8: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2931:10: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2934:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2945:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2947:16: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2957:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2957:0: R0914: Too many local variables (26/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3092:23: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3097:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3099:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3107:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3112:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3124:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3127:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3138:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3142:29: R1719: The if expression can be replaced with 'test' (simplifiable-if-expression) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3146:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3162:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2957:0: R0912: Too many branches (36/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2957:0: R0915: Too many statements (133/50) (too-many-statements) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2957:9: W0613: Unused argument 'argv' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:14:0: W0611: Unused import struct (unused-import) ------------------------------------------------------------------ Your code has been rated at 7.68/10 (previous run: 7.75/10, -0.08) ====== Checking the tree with the patch ====== ************* Module ovs-dpctl tools/testing/selftests/net/openvswitch/ovs-dpctl.py:721:0: C0325: Unnecessary parens after 'return' keyword (superfluous-parens) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:981:0: C0325: Unnecessary parens after 'return' keyword (superfluous-parens) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:988: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 (3174/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:67:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:68:23: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:72:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:81:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:90:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:110:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:111:4: C0103: Variable name "bitResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:112:4: C0103: Variable name "maskResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:124:8: C0103: Variable name "bitResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:125:8: C0103: Variable name "maskResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:129:12: C0103: Variable name "setFlag" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:131:12: C0103: Variable name "setFlag" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:149:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:152:15: E0606: Possibly using variable 'setFlag' before assignment (possibly-used-before-assignment) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:153:16: C0103: Variable name "bitResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:155:12: C0103: Variable name "maskResult" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:157:27: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:164:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:179:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:194:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:206:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:218:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:222:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:231:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:231:0: R0911: Too many return statements (7/6) (too-many-return-statements) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:255:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:255:0: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:255:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:345:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:350:25: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:356:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:356:0: C0103: Class name "ovs_dp_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:356:0: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:364:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:364:0: C0103: Class name "ovsactions" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:396:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:406:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:406:4: C0103: Class name "psample" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:415:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:416:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:420:24: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:423:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:415:24: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:425:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:439:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:439:4: C0103: Class name "push_vlan" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:439:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:442:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:442:4: C0103: Class name "sample" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:451:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:454:24: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:460:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:462:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:464:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:485:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:485:4: C0103: Class name "ctact" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:501:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:501:8: C0103: Class name "natattr" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:517:12: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:531:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:536:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:543:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:548:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:517:28: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:501:8: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:561:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:567:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:569:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:576:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:580:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:485:4: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:586:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:586:4: C0103: Class name "userspace" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:596:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:599:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:605:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:607:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:596:24: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:613:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:627:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:637:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:639:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:641:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:643:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:661:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:690:20: W0702: No exception type(s) specified (bare-except) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:627:4: R0912: Too many branches (21/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:627:4: R0915: Too many statements (60/50) (too-many-statements) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:695:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:695:4: R0914: Too many local variables (40/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:725:44: W0108: Lambda may not be necessary (unnecessary-lambda) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:770:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:778:32: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:784:32: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:790:32: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:794:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:824:16: C0103: Variable name "parsedLen" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:697:8: R1702: Too many nested blocks (6/5) (too-many-nested-blocks) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:697:8: R1702: Too many nested blocks (7/5) (too-many-nested-blocks) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:697:8: R1702: Too many nested blocks (7/5) (too-many-nested-blocks) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:977:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:986:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:695:4: R0912: Too many branches (52/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:695:4: R0915: Too many statements (184/50) (too-many-statements) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:825:16: W0612: Unused variable 'lst' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:997:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:997:0: C0103: Class name "ovskey" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1035:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1035:4: C0103: Class name "ovs_key_proto" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1048:8: R0913: Too many arguments (7/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1048:8: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1067:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1067:33: C0103: Argument name "typeInst" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1088: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:1078:12: W0612: Unused variable 'keybits' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1079:12: W0612: Unused variable 'maskbits' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1110:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1117:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1121:34: E1102: f[2] is not callable (not-callable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1124:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1128:34: E1102: f[2] is not callable (not-callable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1133:34: E1102: f[2] is not callable (not-callable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1138:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1138:4: C0103: Class name "ethaddr" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1161:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1161:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1179:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1179:4: C0103: Class name "ovs_key_ipv4" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1214:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1214:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1232:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1232:4: C0103: Class name "ovs_key_ipv6" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1270:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1270:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1288:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1288:4: C0103: Class name "ovs_key_tcp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1289:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1289:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1307:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1307:4: C0103: Class name "ovs_key_udp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1308:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1308:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1326:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1326:4: C0103: Class name "ovs_key_sctp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1327:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1327:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1345:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1345:4: C0103: Class name "ovs_key_icmp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1358:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1358:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1376:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1376:4: C0103: Class name "ovs_key_icmpv6" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1385: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:1377: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:1377:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1377:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1395:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1395:4: C0103: Class name "ovs_key_arp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1437:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1437:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1455:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1455:4: C0103: Class name "ovs_key_nd" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1473:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1473:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1491:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1491: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:1520:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1520:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1538:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1538: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:1573: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:1565:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1565:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1538:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1583:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1583:4: C0103: Class name "ovs_key_tunnel" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1606:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1606:8: R0914: Too many local variables (19/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1652:20: W0719: Raising too general exception: Exception (broad-exception-raised) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1606:8: R0912: Too many branches (19/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1698:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1705:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1707:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1709:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1711:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1713:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1715:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1717:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1719:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1721:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1735: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:1698:8: R0912: Too many branches (15/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1698:24: W0613: Unused argument 'mask' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1698:35: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1740:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1740:4: C0103: Class name "ovs_key_mpls" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1740:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1759:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1760:15: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1763:4: R0914: Too many local variables (16/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1804:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1818:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1823:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1832:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1842:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1852:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1867:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1763:4: R0912: Too many branches (32/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1763:4: R0915: Too many statements (91/50) (too-many-statements) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1903:24: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1926:16: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1931:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2027:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2149:34: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2159:0: C0103: Class name "encap_ovskey" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2196:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2201:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2201:4: C0103: Class name "ovs_packet_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2201:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2221:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2236:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2196:0: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2241:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2245:4: C0103: Class name "dp_cmd_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2262:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2262:8: C0103: Class name "dpstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2262:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2270:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2270:8: C0103: Class name "megaflowstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2270:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2245:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2283:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2304:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2305:22: C0103: Argument name "shouldUpcall" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2305:42: C0103: Argument name "versionStr" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2327:16: W0612: Unused variable 'i' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2347:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2369:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2376:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2376:4: C0103: Class name "ovs_vport_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2390:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2390:8: C0103: Class name "vportopts" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2390:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2397:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2397:8: C0103: Class name "vportstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2397:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2376:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2409:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2409:4: E0213: Method 'type_to_str' should have "self" as first argument (no-self-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2410:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2420:25: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2422:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2422:4: E0213: Method 'str_to_type' should have "self" as first argument (no-self-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2423:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2433:25: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2440:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2465:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2465:4: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2465:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2479:8: C0103: Variable name "TUNNEL_DEFAULTS" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2531:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2540:11: C0121: Comparison 'p == None' should be 'p is None' (singleton-comparison) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2556:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2577:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2581:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2582:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2582:4: C0103: Class name "ovs_flow_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2597:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2597:8: C0103: Class name "flowstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2597:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2603:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2608:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2645:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2658:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2672:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2673: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:2674: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:2675: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:2690:12: C0103: Variable name "uuidRawObj" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2672:41: W0613: Unused argument 'dpidx' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2836:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2846:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2848:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2848:22: W0613: Unused argument 'packetmsg' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2851:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2851:21: W0613: Unused argument 'packetmsg' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2855:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2855:0: C0103: Class name "psample_sample" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2875:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2880:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2882:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2885:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2887:23: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2889:16: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2855:0: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2892:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2892:0: C0103: Class name "psample_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2892:0: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2901:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2906:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2901:0: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2916:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2916:0: R0914: Too many local variables (16/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2923:10: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2925:8: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2928:10: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2932:8: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2936:10: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2939:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2950:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2952:16: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2962:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2962:0: R0914: Too many local variables (26/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3097:23: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3102:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3104:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3112:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3117:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3129:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3132:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3143:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3147:29: R1719: The if expression can be replaced with 'test' (simplifiable-if-expression) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3151:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:3167:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2962:0: R0912: Too many branches (36/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2962:0: R0915: Too many statements (133/50) (too-many-statements) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2962:9: W0613: Unused argument 'argv' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:14:0: W0611: Unused import struct (unused-import) ------------------------------------------------------------------ Your code has been rated at 7.68/10 (previous run: 7.68/10, +0.00)