src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/translations.py

branch
eric7
changeset 11148
15e30f0c76a8
parent 11147
dee6e106b4d3
equal deleted inserted replaced
11147:dee6e106b4d3 11148:15e30f0c76a8
91 "pycodestyle", "closing bracket is missing indentation" 91 "pycodestyle", "closing bracket is missing indentation"
92 ), 92 ),
93 "E-201": QCoreApplication.translate("pycodestyle", "whitespace after '{0}'"), 93 "E-201": QCoreApplication.translate("pycodestyle", "whitespace after '{0}'"),
94 "E-202": QCoreApplication.translate("pycodestyle", "whitespace before '{0}'"), 94 "E-202": QCoreApplication.translate("pycodestyle", "whitespace before '{0}'"),
95 "E-203": QCoreApplication.translate("pycodestyle", "whitespace before '{0}'"), 95 "E-203": QCoreApplication.translate("pycodestyle", "whitespace before '{0}'"),
96 "E-204": QCoreApplication.translate("pycodestyle", "whitespace after decorator '@'"), 96 "E-204": QCoreApplication.translate(
97 "pycodestyle", "whitespace after decorator '@'"
98 ),
97 "E-211": QCoreApplication.translate("pycodestyle", "whitespace before '{0}'"), 99 "E-211": QCoreApplication.translate("pycodestyle", "whitespace before '{0}'"),
98 "E-221": QCoreApplication.translate( 100 "E-221": QCoreApplication.translate(
99 "pycodestyle", "multiple spaces before operator" 101 "pycodestyle", "multiple spaces before operator"
100 ), 102 ),
101 "E-222": QCoreApplication.translate("pycodestyle", "multiple spaces after operator"), 103 "E-222": QCoreApplication.translate(
104 "pycodestyle", "multiple spaces after operator"
105 ),
102 "E-223": QCoreApplication.translate("pycodestyle", "tab before operator"), 106 "E-223": QCoreApplication.translate("pycodestyle", "tab before operator"),
103 "E-224": QCoreApplication.translate("pycodestyle", "tab after operator"), 107 "E-224": QCoreApplication.translate("pycodestyle", "tab after operator"),
104 "E-225": QCoreApplication.translate( 108 "E-225": QCoreApplication.translate(
105 "pycodestyle", "missing whitespace around operator" 109 "pycodestyle", "missing whitespace around operator"
106 ), 110 ),
111 "pycodestyle", "missing whitespace around bitwise or shift operator" 115 "pycodestyle", "missing whitespace around bitwise or shift operator"
112 ), 116 ),
113 "E-228": QCoreApplication.translate( 117 "E-228": QCoreApplication.translate(
114 "pycodestyle", "missing whitespace around modulo operator" 118 "pycodestyle", "missing whitespace around modulo operator"
115 ), 119 ),
116 "E-231": QCoreApplication.translate("pycodestyle", "missing whitespace after '{0}'"), 120 "E-231": QCoreApplication.translate(
121 "pycodestyle", "missing whitespace after '{0}'"
122 ),
117 "E-241": QCoreApplication.translate("pycodestyle", "multiple spaces after '{0}'"), 123 "E-241": QCoreApplication.translate("pycodestyle", "multiple spaces after '{0}'"),
118 "E-242": QCoreApplication.translate("pycodestyle", "tab after '{0}'"), 124 "E-242": QCoreApplication.translate("pycodestyle", "tab after '{0}'"),
119 "E-251": QCoreApplication.translate( 125 "E-251": QCoreApplication.translate(
120 "pycodestyle", "unexpected spaces around keyword / parameter equals" 126 "pycodestyle", "unexpected spaces around keyword / parameter equals"
121 ), 127 ),
133 ), 139 ),
134 "E-266": QCoreApplication.translate( 140 "E-266": QCoreApplication.translate(
135 "pycodestyle", "too many leading '#' for block comment" 141 "pycodestyle", "too many leading '#' for block comment"
136 ), 142 ),
137 "E-271": QCoreApplication.translate("pycodestyle", "multiple spaces after keyword"), 143 "E-271": QCoreApplication.translate("pycodestyle", "multiple spaces after keyword"),
138 "E-272": QCoreApplication.translate("pycodestyle", "multiple spaces before keyword"), 144 "E-272": QCoreApplication.translate(
145 "pycodestyle", "multiple spaces before keyword"
146 ),
139 "E-273": QCoreApplication.translate("pycodestyle", "tab after keyword"), 147 "E-273": QCoreApplication.translate("pycodestyle", "tab after keyword"),
140 "E-274": QCoreApplication.translate("pycodestyle", "tab before keyword"), 148 "E-274": QCoreApplication.translate("pycodestyle", "tab before keyword"),
141 "E-275": QCoreApplication.translate( 149 "E-275": QCoreApplication.translate(
142 "pycodestyle", "missing whitespace after keyword" 150 "pycodestyle", "missing whitespace after keyword"
143 ), 151 ),
225 233
226 _pycodestyleWarningMessages = { 234 _pycodestyleWarningMessages = {
227 "W-191": QCoreApplication.translate("pycodestyle", "indentation contains tabs"), 235 "W-191": QCoreApplication.translate("pycodestyle", "indentation contains tabs"),
228 "W-291": QCoreApplication.translate("pycodestyle", "trailing whitespace"), 236 "W-291": QCoreApplication.translate("pycodestyle", "trailing whitespace"),
229 "W-292": QCoreApplication.translate("pycodestyle", "no newline at end of file"), 237 "W-292": QCoreApplication.translate("pycodestyle", "no newline at end of file"),
230 "W-293": QCoreApplication.translate("pycodestyle", "blank line contains whitespace"), 238 "W-293": QCoreApplication.translate(
239 "pycodestyle", "blank line contains whitespace"
240 ),
231 "W-391": QCoreApplication.translate("pycodestyle", "blank line at end of file"), 241 "W-391": QCoreApplication.translate("pycodestyle", "blank line at end of file"),
232 "W-503": QCoreApplication.translate( 242 "W-503": QCoreApplication.translate(
233 "pycodestyle", "line break before binary operator" 243 "pycodestyle", "line break before binary operator"
234 ), 244 ),
235 "W-504": QCoreApplication.translate( 245 "W-504": QCoreApplication.translate(
358 "CodeStyleFixer", "Superfluous blank lines after function decorator removed." 368 "CodeStyleFixer", "Superfluous blank lines after function decorator removed."
359 ), 369 ),
360 "FIX-E401": QCoreApplication.translate( 370 "FIX-E401": QCoreApplication.translate(
361 "CodeStyleFixer", "Imports were put on separate lines." 371 "CodeStyleFixer", "Imports were put on separate lines."
362 ), 372 ),
363 "FIX-E501": QCoreApplication.translate( 373 "FIX-E-501": QCoreApplication.translate(
364 "CodeStyleFixer", "Long lines have been shortened." 374 "CodeStyleFixer", "Long lines have been shortened."
365 ), 375 ),
366 "FIX-E502": QCoreApplication.translate( 376 "FIX-E502": QCoreApplication.translate(
367 "CodeStyleFixer", "Redundant backslash in brackets removed." 377 "CodeStyleFixer", "Redundant backslash in brackets removed."
368 ), 378 ),

eric ide

mercurial