closeio/lintlizard

Introduce semgrep

neob91-close opened this issue · 1 comments

We could use semgrep to detect scenarios such as these:

  • assert inside pytest.raises block (will never execute)
  • logger.exception inside except blocks rather than logger.error