27:5e9a61e7d7d0 | 28:ddee2e1e4198 |
---|---|
142 None, | 142 None, |
143 ], | 143 ], |
144 } | 144 } |
145 | 145 |
146 | 146 |
147 def createProtobufPage(configDlg): | 147 def createProtobufPage(configDlg): # noqa: U100 |
148 """ | 148 """ |
149 Module function to create the Protobuf configuration page. | 149 Module function to create the Protobuf configuration page. |
150 | 150 |
151 @param configDlg reference to the configuration dialog | 151 @param configDlg reference to the configuration dialog |
152 @type ConfigurationWidget | 152 @type ConfigurationWidget |
335 if lexer.canStyle(): | 335 if lexer.canStyle(): |
336 return lexer | 336 return lexer |
337 else: | 337 else: |
338 return None | 338 return None |
339 | 339 |
340 def getFileIcon(self, filename=""): | 340 def getFileIcon(self, filename=""): # noqa: U100 |
341 """ | 341 """ |
342 Public method to get the name of a file icon. | 342 Public method to get the name of a file icon. |
343 | 343 |
344 @param filename file name (defaults to "") | 344 @param filename file name (defaults to "") |
345 @type str (optional) | 345 @type str (optional) |
361 except ImportError: | 361 except ImportError: |
362 pipInstall(["protobuf", "grpcio", "grpcio-tools"]) | 362 pipInstall(["protobuf", "grpcio", "grpcio-tools"]) |
363 | 363 |
364 | 364 |
365 # | 365 # |
366 # eflag: noqa = M801 | 366 # eflag: noqa = M801, U200 |