Metadata-Version: 2.0
Name: sentry-stack-checker
Version: 0.3
Summary: Pylint plugin for checking usage of log.exception
Home-page: https://github.com/davidszotten/sentry-stack-checker
Author: David Szotten
Author-email: davidszotten@gmail.com
License: MIT
Description-Content-Type: UNKNOWN
Platform: UNKNOWN

Sentry stack checker
====================

Pylint plugin for finding logging calls inside exception handlers, and suggest they include ``exc_info=True``, or change ``extra={'stack': True}`` to ``exc_info=True`` to get the stack from the exception instead of the one from the log statement.

Installation
------------

::

    $ pip install sentry_stack_checker

Usage
-----

::

    $ pylint --load-plugins sentry_stack_checker <module> -E -d all -e R9501
    $ pylint --load-plugins sentry_stack_checker <module> -E -d all -e R9502


