openhab-scripters / openhab-helper-libraries

Scripts and modules for use with openHAB
Eclipse Public License 1.0
88 stars 68 forks source link

Update .pylintrc #380

Closed coriet closed 1 year ago

coriet commented 3 years ago

Add 'unsubscriptable-object' to the list of disabled checks in order to avoid errors when filtering on tags for example.

Jython code example that causes an error: filter(lambda tag: tag.startswith('XYZ'), ir.getItem(event.itemName).getTags()) Error: "Value 'filter(lambda tag: tag.startswith('XYZ'), ir.getItem(event.itemName).getTags())' is unsubscriptablepylint(unsubscriptable-object)