11 from PyQt6.QtCore import QCoreApplication |
11 from PyQt6.QtCore import QCoreApplication |
12 |
12 |
13 __all__ = ["getTranslatedFlakesMessage"] |
13 __all__ = ["getTranslatedFlakesMessage"] |
14 |
14 |
15 _messages = { |
15 _messages = { |
16 "F01": QCoreApplication.translate("pyFlakes", "{0!r} imported but unused."), |
16 "F01": QCoreApplication.translate( |
|
17 "pyFlakes", |
|
18 "{0!r} imported but unused. Consider using 'importlib.util.find_spec()'."), |
17 "F02": QCoreApplication.translate( |
19 "F02": QCoreApplication.translate( |
18 "pyFlakes", "Redefinition of unused {0!r} from line {1!r}." |
20 "pyFlakes", "Redefinition of unused {0!r} from line {1!r}." |
19 ), |
21 ), |
20 "F03": QCoreApplication.translate( |
22 "F03": QCoreApplication.translate( |
21 "pyFlakes", "Import {0!r} from line {1!r} shadowed by loop variable." |
23 "pyFlakes", "Import {0!r} from line {1!r} shadowed by loop variable." |