120 "pycodestyle", |
120 "pycodestyle", |
121 "tab after '{0}'"), |
121 "tab after '{0}'"), |
122 "E251": QCoreApplication.translate( |
122 "E251": QCoreApplication.translate( |
123 "pycodestyle", |
123 "pycodestyle", |
124 "unexpected spaces around keyword / parameter equals"), |
124 "unexpected spaces around keyword / parameter equals"), |
|
125 "E252": QCoreApplication.translate( |
|
126 "pycodestyle", |
|
127 "missing whitespace around parameter equals"), |
125 "E261": QCoreApplication.translate( |
128 "E261": QCoreApplication.translate( |
126 "pycodestyle", |
129 "pycodestyle", |
127 "at least two spaces before inline comment"), |
130 "at least two spaces before inline comment"), |
128 "E262": QCoreApplication.translate( |
131 "E262": QCoreApplication.translate( |
129 "pycodestyle", |
132 "pycodestyle", |
158 "W293": QCoreApplication.translate( |
161 "W293": QCoreApplication.translate( |
159 "pycodestyle", |
162 "pycodestyle", |
160 "blank line contains whitespace"), |
163 "blank line contains whitespace"), |
161 "E301": QCoreApplication.translate( |
164 "E301": QCoreApplication.translate( |
162 "pycodestyle", |
165 "pycodestyle", |
163 "expected 1 blank line, found 0"), |
166 "expected {0} blank line, found 0"), |
164 "E302": QCoreApplication.translate( |
167 "E302": QCoreApplication.translate( |
165 "pycodestyle", |
168 "pycodestyle", |
166 "expected 2 blank lines, found {0}"), |
169 "expected {0} blank lines, found {1}"), |
167 "E303": QCoreApplication.translate( |
170 "E303": QCoreApplication.translate( |
168 "pycodestyle", |
171 "pycodestyle", |
169 "too many blank lines ({0})"), |
172 "too many blank lines ({0})"), |
170 "E304": QCoreApplication.translate( |
173 "E304": QCoreApplication.translate( |
171 "pycodestyle", |
174 "pycodestyle", |
172 "blank lines found after function decorator"), |
175 "blank lines found after function decorator"), |
173 "E305": QCoreApplication.translate( |
176 "E305": QCoreApplication.translate( |
174 "pycodestyle", |
177 "pycodestyle", |
175 "expected 2 blank lines after class or function definition," |
178 "expected {0} blank lines after class or function definition," |
176 " found {0}"), |
179 " found {1}"), |
177 "E306": QCoreApplication.translate( |
180 "E306": QCoreApplication.translate( |
178 "pycodestyle", |
181 "pycodestyle", |
179 "expected 1 blank line before a nested definition, found 0"), |
182 "expected {0} blank line before a nested definition, found 0"), |
180 "W391": QCoreApplication.translate( |
183 "W391": QCoreApplication.translate( |
181 "pycodestyle", |
184 "pycodestyle", |
182 "blank line at end of file"), |
185 "blank line at end of file"), |
183 "E401": QCoreApplication.translate( |
186 "E401": QCoreApplication.translate( |
184 "pycodestyle", |
187 "pycodestyle", |
193 "pycodestyle", |
196 "pycodestyle", |
194 "the backslash is redundant between brackets"), |
197 "the backslash is redundant between brackets"), |
195 "W503": QCoreApplication.translate( |
198 "W503": QCoreApplication.translate( |
196 "pycodestyle", |
199 "pycodestyle", |
197 "line break before binary operator"), |
200 "line break before binary operator"), |
|
201 "W504": QCoreApplication.translate( |
|
202 "pycodestyle", |
|
203 "line break after binary operator"), |
198 "W601": QCoreApplication.translate( |
204 "W601": QCoreApplication.translate( |
199 "pycodestyle", |
205 "pycodestyle", |
200 ".has_key() is deprecated, use 'in'"), |
206 ".has_key() is deprecated, use 'in'"), |
201 "W602": QCoreApplication.translate( |
207 "W602": QCoreApplication.translate( |
202 "pycodestyle", |
208 "pycodestyle", |
205 "pycodestyle", |
211 "pycodestyle", |
206 "'<>' is deprecated, use '!='"), |
212 "'<>' is deprecated, use '!='"), |
207 "W604": QCoreApplication.translate( |
213 "W604": QCoreApplication.translate( |
208 "pycodestyle", |
214 "pycodestyle", |
209 "backticks are deprecated, use 'repr()'"), |
215 "backticks are deprecated, use 'repr()'"), |
|
216 "W605": QCoreApplication.translate( |
|
217 "pycodestyle", |
|
218 "invalid escape sequence '\\{0}'"), |
|
219 "W606": QCoreApplication.translate( |
|
220 "pycodestyle", |
|
221 "'async' and 'await' are reserved keywords starting with Python 3.7"), |
210 "E701": QCoreApplication.translate( |
222 "E701": QCoreApplication.translate( |
211 "pycodestyle", |
223 "pycodestyle", |
212 "multiple statements on one line (colon)"), |
224 "multiple statements on one line (colon)"), |
213 "E702": QCoreApplication.translate( |
225 "E702": QCoreApplication.translate( |
214 "pycodestyle", |
226 "pycodestyle", |