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