10 |
10 |
11 from PyQt6.QtCore import QCoreApplication |
11 from PyQt6.QtCore import QCoreApplication |
12 |
12 |
13 _nameOrderMessages = { |
13 _nameOrderMessages = { |
14 "NO101": QCoreApplication.translate( |
14 "NO101": QCoreApplication.translate( |
15 "ImportsChecker", |
15 "NameOrderChecker", |
16 "Import statements are in the wrong order. '{0}' should be before '{1}'", |
16 "Import statements are in the wrong order. '{0}' should be before '{1}'", |
17 ), |
17 ), |
18 "NO102": QCoreApplication.translate( |
18 "NO102": QCoreApplication.translate( |
19 "ImportsChecker", "Imported names are in the wrong order. Should be '{0}'" |
19 "NameOrderChecker", "Imported names are in the wrong order. Should be '{0}'" |
20 ), |
20 ), |
21 "NO103": QCoreApplication.translate( |
21 "NO103": QCoreApplication.translate( |
22 "ImportsChecker", |
22 "NameOrderChecker", |
23 "Import statements should be combined. '{0}' should be combined with '{1}'", |
23 "Import statements should be combined. '{0}' should be combined with '{1}'", |
24 ), |
24 ), |
25 "NO104": QCoreApplication.translate( |
25 "NO104": QCoreApplication.translate( |
26 "ImportsChecker", |
26 "NameOrderChecker", |
27 "The names in __all__ are in the wrong order. The order should be '{0}'", |
27 "The names in __all__ are in the wrong order. The order should be '{0}'", |
28 ), |
28 ), |
29 "NO105": QCoreApplication.translate( |
29 "NO105": QCoreApplication.translate( |
30 "ImportsChecker", |
30 "NameOrderChecker", |
31 "The names in the exception handler list are in the wrong order. The order" |
31 "The names in the exception handler list are in the wrong order. The order" |
32 " should be '{0}'", |
32 " should be '{0}'", |
33 ), |
33 ), |
34 } |
34 } |
35 |
35 |