Derived from the Pylint linter.
This rule is unstable and in preview. The
--preview flag is required for use.
What it does#
Checks for the use of non-ASCII characters in import statements.
Why is this bad?#
The use of non-ASCII characters in import statements can cause confusion and compatibility issues (see: PEP 672).
If the module is third-party, use an ASCII-only alias: