canonical / hotsos

Software analysis toolkit. Define checks in high-level language and leverage library to perform analysis of common Cloud applications.
Apache License 2.0
31 stars 37 forks source link

pylintrc: re-enable unspecified-encoding #937

Closed mustafakemalgilor closed 1 month ago

mustafakemalgilor commented 1 month ago

explicitly request "utf-8" encoding for all open() calls. When unspecified, Python retrieves the platform-dependent value via locale.getencoding() call, which should evaluate to "utf-8" for Linux-y OS'es.

mustafakemalgilor commented 1 month ago

reference: https://docs.python.org/3/library/functions.html#open