Cleanup: suppress various pylint warnings

This commit is contained in:
Campbell Barton
2025-01-04 21:17:29 +11:00
parent 444f1064c9
commit 5f640457d8
7 changed files with 21 additions and 26 deletions

View File

@@ -171,7 +171,7 @@ def cmake_advanced_info() -> (
# Enable to check on nicer XML.
use_pretty_xml = False
if use_pretty_xml:
with open(".cproject_pretty", 'w') as fh:
with open(".cproject_pretty", 'w', encoding="utf-8") as fh:
fh.write(tree.toprettyxml(indent=" ", newl=""))
ELEMENT_NODE = tree.ELEMENT_NODE