# HG changeset patch # User Andrey Skvortsov # Date 1538556485 -10800 # Node ID a5994ee1f6a77dd0a63f4847073e09bd66f72a2a # Parent 290b77b721230e437ac7118c2dce228dcced1c31 cleanup: pylint, W0109 # (duplicate-key) Duplicate key 'X' in dictionary diff -r 290b77b72123 -r a5994ee1f6a7 etherlab/CommonEtherCATFunction.py --- a/etherlab/CommonEtherCATFunction.py Wed Oct 03 11:47:04 2018 +0300 +++ b/etherlab/CommonEtherCATFunction.py Wed Oct 03 11:48:05 2018 +0300 @@ -428,7 +428,6 @@ "UINT48": "19", "UINT56": "1a", "ULINT": "1b", - "USINT": "1e", "BITARR8": "2d", "BITARR16": "2e", "BITARR32": "2f", diff -r 290b77b72123 -r a5994ee1f6a7 tests/tools/check_source.sh --- a/tests/tools/check_source.sh Wed Oct 03 11:47:04 2018 +0300 +++ b/tests/tools/check_source.sh Wed Oct 03 11:48:05 2018 +0300 @@ -318,6 +318,7 @@ enable=$enable,W0601 # (global-variable-undefined) Global variable 'X' undefined at the module level enable=$enable,W0111 # (assign-to-new-keyword) Name async will become a keyword in Python 3.7 enable=$enable,W0623 # (redefine-in-handler) Redefining name 'X' from outer scope (line Y) in exception handler + enable=$enable,W0109 # (duplicate-key) Duplicate key 'X' in dictionary enable=$enable,E1310 # (bad-str-strip-call) Suspicious argument in str.strip call enable=$enable,E1300 # (bad-format-character) Unsupported format character '"' (0x22) at index 17 enable=$enable,E1304 # (missing-format-string-key) Missing key 'X_name' in format string dictionary