115 'pyFlakes', |
115 'pyFlakes', |
116 "use of >> is invalid with print function"), |
116 "use of >> is invalid with print function"), |
117 'F33': QCoreApplication.translate( |
117 'F33': QCoreApplication.translate( |
118 'pyFlakes', |
118 'pyFlakes', |
119 "use ==/!= to compare str, bytes, and int literals"), |
119 "use ==/!= to compare str, bytes, and int literals"), |
|
120 'F34': QCoreApplication.translate( |
|
121 'pyFlakes', |
|
122 "f-string is missing placeholders"), |
|
123 'F35': QCoreApplication.translate( |
|
124 'pyFlakes', |
|
125 "'...'.format(...) has unused arguments at position(s): {0}"), |
|
126 'F36': QCoreApplication.translate( |
|
127 'pyFlakes', |
|
128 "'...'.format(...) has unused named argument(s): {0}"), |
|
129 'F37': QCoreApplication.translate( |
|
130 'pyFlakes', |
|
131 "'...'.format(...) is missing argument(s) for placeholder(s): {0}"), |
|
132 'F38': QCoreApplication.translate( |
|
133 'pyFlakes', |
|
134 "'...'.format(...) mixes automatic and manual numbering"), |
|
135 'F39': QCoreApplication.translate( |
|
136 'pyFlakes', |
|
137 "'...'.format(...) has invalid format string: {0}"), |
|
138 'F40': QCoreApplication.translate( |
|
139 'pyFlakes', |
|
140 "'...' % ... has invalid format string: {0}"), |
|
141 'F41': QCoreApplication.translate( |
|
142 'pyFlakes', |
|
143 "'...' % ... has mixed positional and named placeholders"), |
|
144 'F42': QCoreApplication.translate( |
|
145 'pyFlakes', |
|
146 "'...' % ... has unsupported format character {0!r}"), |
|
147 'F43': QCoreApplication.translate( |
|
148 'pyFlakes', |
|
149 "'...' % ... has {0!d} placeholder(s) but {1!d} substitution(s)"), |
|
150 'F44': QCoreApplication.translate( |
|
151 'pyFlakes', |
|
152 "'...' % ... has unused named argument(s): {0}"), |
|
153 'F45': QCoreApplication.translate( |
|
154 'pyFlakes', |
|
155 "'...' % ... is missing argument(s) for placeholder(s): {0}"), |
|
156 'F46': QCoreApplication.translate( |
|
157 'pyFlakes', |
|
158 "'...' % ... expected mapping but got sequence"), |
|
159 'F47': QCoreApplication.translate( |
|
160 'pyFlakes', |
|
161 "'...' % ... expected sequence but got mapping"), |
|
162 'F48': QCoreApplication.translate( |
|
163 'pyFlakes', |
|
164 "'...' % ... `*` specifier requires sequence"), |
120 } |
165 } |
121 |
166 |
122 |
167 |
123 def getTranslatedFlakesMessage(message_id, message_args): |
168 def getTranslatedFlakesMessage(message_id, message_args): |
124 """ |
169 """ |