src/eric7/PluginManager/PluginManager.py

branch
eric7
changeset 10683
779cda568acb
parent 10496
f9925e08dbce
child 10760
f702f6781b05
equal deleted inserted replaced
10682:47be220abdaf 10683:779cda568acb
1381 else: 1381 else:
1382 self.pluginRepositoryFileDownloaded.emit() 1382 self.pluginRepositoryFileDownloaded.emit()
1383 1383
1384 def checkPluginEntry( 1384 def checkPluginEntry(
1385 self, 1385 self,
1386 name, # noqa: U100 1386 _name,
1387 short, # noqa: U100 1387 _short,
1388 description, # noqa: U100 1388 _description,
1389 url, 1389 url,
1390 author, # noqa: U100 1390 _author,
1391 version, 1391 version,
1392 filename, 1392 filename,
1393 status, # noqa: U100 1393 _status,
1394 category, # noqa: U100 1394 _category,
1395 ): 1395 ):
1396 """ 1396 """
1397 Public method to check a plug-in's data for an update. 1397 Public method to check a plug-in's data for an update.
1398 1398
1399 @param name data for the name field 1399 @param _name data for the name field (unused)
1400 @type str 1400 @type str
1401 @param short data for the short field 1401 @param _short data for the short field (unused)
1402 @type str 1402 @type str
1403 @param description data for the description field 1403 @param _description data for the description field (unused)
1404 @type list of str 1404 @type list of str
1405 @param url data for the url field 1405 @param url data for the url field
1406 @type str 1406 @type str
1407 @param author data for the author field 1407 @param _author data for the author field (unused)
1408 @type str 1408 @type str
1409 @param version data for the version field 1409 @param version data for the version field
1410 @type str 1410 @type str
1411 @param filename data for the filename field 1411 @param filename data for the filename field
1412 @type str 1412 @type str
1413 @param status status of the plugin (one of stable, unstable, unknown) 1413 @param _status status of the plugin (one of stable, unstable, unknown) (unused)
1414 @type str 1414 @type str
1415 @param category category designation of the plugin 1415 @param _category category designation of the plugin (unused)
1416 @type str 1416 @type str
1417 """ 1417 """
1418 # ignore hidden plug-ins 1418 # ignore hidden plug-ins
1419 pluginName = os.path.splitext(url.rsplit("/", 1)[1])[0] 1419 pluginName = os.path.splitext(url.rsplit("/", 1)[1])[0]
1420 if pluginName in Preferences.getPluginManager("HiddenPlugins"): 1420 if pluginName in Preferences.getPluginManager("HiddenPlugins"):

eric ide

mercurial