bad-file-encoding / C2503ΒΆ

Message emitted:

PEP8 recommends UTF-8 as encoding for Python files

Description:

PEP8 recommends UTF-8 default encoding for Python files. See https://peps.python.org/pep-0008/#source-file-encoding

Problematic code:

# coding: latin_1 # [bad-file-encoding]

Correct code:


Created by the unicode_checker checker.