497 "'<>' replaced by '!='."), |
497 "'<>' replaced by '!='."), |
498 |
498 |
499 "FWRITE_ERROR": QCoreApplication.translate( |
499 "FWRITE_ERROR": QCoreApplication.translate( |
500 'CodeStyleFixer', |
500 'CodeStyleFixer', |
501 "Could not save the file! Skipping it. Reason: {0}"), |
501 "Could not save the file! Skipping it. Reason: {0}"), |
|
502 } |
|
503 |
|
504 _messages_sample_args = { |
|
505 "E201": ["([{"], |
|
506 "E202": ["}])"], |
|
507 "E203": [",;:"], |
|
508 "E211": ["(["], |
|
509 "E231": [",;:"], |
|
510 "E241": [",;:"], |
|
511 "E242": [",;:"], |
|
512 "E302": [1], |
|
513 "E303": [3], |
|
514 "E501": [85, 79], |
|
515 "E711": ["None", "'if cond is None:'"], |
|
516 "E712": ["True", "'if cond is True:' or 'if cond:'"], |
|
517 "E901": ["SyntaxError", "Invalid Syntax"], |
|
518 "D901": ["SyntaxError", "Invalid Syntax"], |
502 } |
519 } |
503 |
520 |
504 |
521 |
505 def getTranslatedMessage(message): |
522 def getTranslatedMessage(message): |
506 """ |
523 """ |