161 "W293": QCoreApplication.translate( |
161 "W293": QCoreApplication.translate( |
162 "pycodestyle", |
162 "pycodestyle", |
163 "blank line contains whitespace"), |
163 "blank line contains whitespace"), |
164 "E301": QCoreApplication.translate( |
164 "E301": QCoreApplication.translate( |
165 "pycodestyle", |
165 "pycodestyle", |
166 "expected {0} blank line, found 0"), |
166 "expected {0} blank lines, found {1}"), |
167 "E302": QCoreApplication.translate( |
167 "E302": QCoreApplication.translate( |
168 "pycodestyle", |
168 "pycodestyle", |
169 "expected {0} blank lines, found {1}"), |
169 "expected {0} blank lines, found {1}"), |
170 "E303": QCoreApplication.translate( |
170 "E303": QCoreApplication.translate( |
171 "pycodestyle", |
171 "pycodestyle", |
172 "too many blank lines ({0})"), |
172 "too many blank lines ({0}), expected {1}"), |
173 "E304": QCoreApplication.translate( |
173 "E304": QCoreApplication.translate( |
174 "pycodestyle", |
174 "pycodestyle", |
175 "blank lines found after function decorator"), |
175 "blank lines found after function decorator"), |
176 "E305": QCoreApplication.translate( |
176 "E305": QCoreApplication.translate( |
177 "pycodestyle", |
177 "pycodestyle", |
178 "expected {0} blank lines after class or function definition," |
178 "expected {0} blank lines after class or function definition," |
179 " found {1}"), |
179 " found {1}"), |
180 "E306": QCoreApplication.translate( |
180 "E306": QCoreApplication.translate( |
181 "pycodestyle", |
181 "pycodestyle", |
182 "expected {0} blank line before a nested definition, found 0"), |
182 "expected {0} blank lines before a nested definition, found {1}"), |
|
183 "E307": QCoreApplication.translate( |
|
184 "pycodestyle", |
|
185 "too many blank lines ({0}) before a nested definition, expected {1}"), |
|
186 "E308": QCoreApplication.translate( |
|
187 "pycodestyle", |
|
188 "too many blank lines ({0})"), |
183 "W391": QCoreApplication.translate( |
189 "W391": QCoreApplication.translate( |
184 "pycodestyle", |
190 "pycodestyle", |
185 "blank line at end of file"), |
191 "blank line at end of file"), |
186 "E401": QCoreApplication.translate( |
192 "E401": QCoreApplication.translate( |
187 "pycodestyle", |
193 "pycodestyle", |
721 'CodeStyleFixer', |
727 'CodeStyleFixer', |
722 "Extraneous whitespace removed."), |
728 "Extraneous whitespace removed."), |
723 "FE261": QCoreApplication.translate( |
729 "FE261": QCoreApplication.translate( |
724 'CodeStyleFixer', |
730 'CodeStyleFixer', |
725 "Whitespace around comment sign corrected."), |
731 "Whitespace around comment sign corrected."), |
726 "FE301": QCoreApplication.translate( |
|
727 'CodeStyleFixer', |
|
728 "One blank line inserted."), |
|
729 |
732 |
730 "FE302+": lambda n=1: translate( |
733 "FE302+": lambda n=1: translate( |
731 'CodeStyleFixer', |
734 'CodeStyleFixer', |
732 "%n blank line(s) inserted.", '', n), |
735 "%n blank line(s) inserted.", '', n), |
733 "FE302-": lambda n=1: translate( |
736 "FE302-": lambda n=1: translate( |