pylint 4.0.5 astroid 4.0.4 Python 3.14.4 (main, Apr 16 2026, 00:00:00) [GCC 16.0.1 20260321 (Red Hat 16.0.1-0)] Redirect to /tmp/tmp.qMudX9t9Vx and /tmp/tmp.1lMK7SuvZE Tree base: 10221e689dff ("openvswitch: vport: fix self-deadlock on release of tunnel ports") Now at: 1fd467c2c556 ("selftests: openvswitch: add tests for tunnel vport refcounting") ====== 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 (previous run: 7.47/10, +0.01) ====== Checking the tree with the patch ====== ************* Module ovs-dpctl tools/testing/selftests/net/openvswitch/ovs-dpctl.py:693:0: C0325: Unnecessary parens after 'return' keyword (superfluous-parens) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:889:0: C0325: Unnecessary parens after 'return' keyword (superfluous-parens) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:896: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 (2782/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: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:396:4: C0103: Class name "psample" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:405:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:406:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:410:24: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:413:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:405:24: W0613: Unused argument 'more' (unused-argument) 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:429:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:429:4: C0103: Class name "sample" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:438:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:441:24: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:447:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:449:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) 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:472:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:472:4: C0103: Class name "ctact" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:488:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:488:8: C0103: Class name "natattr" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:504:12: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:518:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:523:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:530:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:535:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:504:28: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:488:8: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:548:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:554:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:556:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:563:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) 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:472:4: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:573:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:573:4: C0103: Class name "userspace" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:583:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:586:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:592:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:594:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:583:24: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:600:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:614:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:624:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:626:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:628:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:630:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:662:20: W0702: No exception type(s) specified (bare-except) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:614:4: R0912: Too many branches (18/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:667:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:667:4: R0914: Too many local variables (30/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:697:44: W0108: Lambda may not be necessary (unnecessary-lambda) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:732:16: C0103: Variable name "parsedLen" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:669:8: R1702: Too many nested blocks (6/5) (too-many-nested-blocks) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:669:8: R1702: Too many nested blocks (7/5) (too-many-nested-blocks) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:669:8: R1702: Too many nested blocks (7/5) (too-many-nested-blocks) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:885:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:894:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:667:4: R0912: Too many branches (39/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:667:4: R0915: Too many statements (139/50) (too-many-statements) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:733:16: W0612: Unused variable 'lst' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:899:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:899:0: C0103: Class name "ovskey" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:937:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:937:4: C0103: Class name "ovs_key_proto" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:950:8: R0913: Too many arguments (7/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:950:8: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:969:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:969:33: C0103: Argument name "typeInst" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:990: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:980:12: W0612: Unused variable 'keybits' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:981:12: W0612: Unused variable 'maskbits' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1012:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1019:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1023:34: E1102: f[2] is not callable (not-callable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1026:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1030:34: E1102: f[2] is not callable (not-callable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1035:34: E1102: f[2] is not callable (not-callable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1040:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1040:4: C0103: Class name "ethaddr" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1063:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1063:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1081:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1081:4: C0103: Class name "ovs_key_ipv4" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1116:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1116:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1134:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1134:4: C0103: Class name "ovs_key_ipv6" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1167:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1167:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1185:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1185:4: C0103: Class name "ovs_key_tcp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1186:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1186:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1204:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1204:4: C0103: Class name "ovs_key_udp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1205:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1205:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1223:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1223:4: C0103: Class name "ovs_key_sctp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1224:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1224:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1242:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1242:4: C0103: Class name "ovs_key_icmp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1253:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1253:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1271:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1271:4: C0103: Class name "ovs_key_icmpv6" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1280: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:1272: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:1272:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1272:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1290:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1290:4: C0103: Class name "ovs_key_arp" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1332:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1332:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1350:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1350:4: C0103: Class name "ovs_key_nd" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1368:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1368:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1386:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1386: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:1415:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1415:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1433:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1433: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:1468: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:1460:8: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1460:8: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1433:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1478:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1478:4: C0103: Class name "ovs_key_tunnel" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1501:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1501:8: R0914: Too many local variables (19/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1547:20: W0719: Raising too general exception: Exception (broad-exception-raised) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1501:8: R0912: Too many branches (19/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1593:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1600:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1602:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1604:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1606:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1608:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1610:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1612:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1614:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1616:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1630: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:1593:8: R0912: Too many branches (15/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1593:24: W0613: Unused argument 'mask' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1593:35: W0613: Unused argument 'more' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1635:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1635:4: C0103: Class name "ovs_key_mpls" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1635:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1638:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1714:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1839:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1844:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1844:4: C0103: Class name "ovs_packet_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1844:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1864:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1879:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1839:0: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1884:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1888:4: C0103: Class name "dp_cmd_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1905:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1905:8: C0103: Class name "dpstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1905:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1913:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1913:8: C0103: Class name "megaflowstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1913:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1888:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1926:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1947:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1948:22: C0103: Argument name "shouldUpcall" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1948:42: C0103: Argument name "versionStr" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1970:16: W0612: Unused variable 'i' (unused-variable) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:1990:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2012:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2019:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2019:4: C0103: Class name "ovs_vport_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2033:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2033:8: C0103: Class name "vportopts" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2033:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2040:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2040:8: C0103: Class name "vportstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2040:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2019:4: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2052:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2052:4: E0213: Method 'type_to_str' should have "self" as first argument (no-self-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2053:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2063:25: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2065:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2065:4: E0213: Method 'str_to_type' should have "self" as first argument (no-self-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2066:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2076:25: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2083:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2108:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2108:4: R0913: Too many arguments (6/5) (too-many-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2108:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2122:8: C0103: Variable name "TUNNEL_DEFAULTS" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2174:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2183:11: C0121: Comparison 'p == None' should be 'p is None' (singleton-comparison) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2199:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2220:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2224:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2225:4: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2225:4: C0103: Class name "ovs_flow_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2240:8: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2240:8: C0103: Class name "flowstats" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2240:8: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2246:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2251:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2288:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2301:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2315:8: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2316: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:2317: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:2318: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:2333:12: C0103: Variable name "uuidRawObj" doesn't conform to snake_case naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2315:41: W0613: Unused argument 'dpidx' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2459:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2469:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2471:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2471:22: W0613: Unused argument 'packetmsg' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2474:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2474:21: W0613: Unused argument 'packetmsg' (unused-argument) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2478:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2478:0: C0103: Class name "psample_sample" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2498:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2503:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2505:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2508:30: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2510:23: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2512:16: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2478:0: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2515:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2515:0: C0103: Class name "psample_msg" doesn't conform to PascalCase naming style (invalid-name) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2515:0: R0903: Too few public methods (0/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2524:0: C0115: Missing class docstring (missing-class-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2529:4: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2524:0: R0903: Too few public methods (1/2) (too-few-public-methods) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2539:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2539:0: R0914: Too many local variables (16/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2546: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:2551: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:8: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2559:10: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2562:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2573:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2575:16: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2585:0: C0116: Missing function or method docstring (missing-function-docstring) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2585:0: R0914: Too many local variables (25/15) (too-many-locals) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2713:23: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2718:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2720:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2728:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2733:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2745:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2748:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2759:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2763:29: R1719: The if expression can be replaced with 'test' (simplifiable-if-expression) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2767:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2775:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2585:0: R0912: Too many branches (34/12) (too-many-branches) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2585:0: R0915: Too many statements (121/50) (too-many-statements) tools/testing/selftests/net/openvswitch/ovs-dpctl.py:2585: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.48/10 (previous run: 7.48/10, +0.01)