Fix some issues for PyLint 1.7.2 (#8356)
* Fix some issues for PyLint 1.7.2 * More fixes * Revert position change for cover
This commit is contained in:
1 parent
83a5f932d1
commit
5779d64e98
66 files changed
+176
-272
No files matched your search
@@ -288,7 +288,7 @@ def dump_dict(layer, indent_count=3, listi=False, **kwargs):
|
||||
indent_str = indent_str[:-1] + '-'
|
||||
if isinstance(layer, Dict):
|
||||
for key, value in sorted(layer.items(), key=sort_dict_key):
|
||||
if isinstance(value, dict) or isinstance(value, list):
|
||||
if isinstance(value, (dict, list)):
|
||||
print(indent_str, key + ':', line_info(value, **kwargs))
|
||||
dump_dict(value, indent_count + 2)
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user