Vauxoo / pylint-odoo

1 stars 4 forks source link

[ADD] except-pass: New check to detect sentence "pass" in exceptions catched #101

Closed moylop260 closed 7 years ago

moylop260 commented 7 years ago
try:
  sentences
except:
  pass  # emit message

A good justification of this case is: http://stackoverflow.com/a/21553825

This is a new guideline then

JesusZapata commented 7 years ago

Done! But it was rejected! https://github.com/PyCQA/pylint/pull/1261 The documentation in! https://github.com/OCA/maintainer-tools/pull/252

JesusZapata commented 7 years ago

@moylop260 I made a PR for third item of checklist https://github.com/Vauxoo/pylint-odoo/pull/106

moylop260 commented 7 years ago

WIP from https://github.com/OCA/pylint-odoo/pull/107