non-ascii-file-name / W2402ΒΆ

Message emitted:

%s name "%s" contains a non-ASCII character. PEP 3131 only allows non-ascii identifiers, not file names.

Description:

Some editors don't support non-ASCII file names properly. Even though Python supports UTF-8 files since Python 3.5 this isn't recommended for interoperability. Further reading: - https://www.python.org/dev/peps/pep-0489/#export-hook-name - https://www.python.org/dev/peps/pep-0672/#confusable-characters-in-identifiers - https://bugs.python.org/issue20485

Created by nonascii-checker checker