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
The option report-loggers can be provided to restrict the logging methods that are checked:
$ pylint --load-plugins sentry_stack_checker <module> --report-loggers=warning,error
Metadata
Release files for sentry-stack-checker 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sentry-stack-checker-0.4.tar.gz | 2.5 kB | Without provenance | Details for sentry-stack-checker-0.4.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sentry_stack_checker-0.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for sentry_stack_checker-0.4-py2.py3-none-any.whl |
| sentry_stack_checker-0.4-py2-none-any.whl | Python 2 | none | any | Details for sentry_stack_checker-0.4-py2-none-any.whl |
Total release size: 10.9 kB
Release files / sentry-stack-checker-0.4.tar.gz
| Download URL | sentry-stack-checker-0.4.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d305b10a9cb83df031b6283713ac467bf4e0a5d790d33c4cdd39cb2f81a1c9f
|
|
BLAKE2b-256 checksum How to use checksums |
0f2a99d2a176ec2db2153823d151119454fba2454a6964757aa7c15791fdb7eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / sentry_stack_checker-0.4-py2.py3-none-any.whl
| Download URL | sentry_stack_checker-0.4-py2.py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9d713a5009766fcac3eba2dce197a03aa213ed6e1ac7f78e7758ef4e44c388ef
|
|
BLAKE2b-256 checksum How to use checksums |
705e4ea24183d1574413b04ecb89607cfbb36c40601fbaa261dbac9028fba336
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / sentry_stack_checker-0.4-py2-none-any.whl
| Download URL | sentry_stack_checker-0.4-py2-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
e7e02813ace4dfaa8fa0a3b06efbd4110ff8105b2baa7fe29133bf6106ead0fb
|
|
BLAKE2b-256 checksum How to use checksums |
9ca1d13970189236c3f19679d8cb1d29d449e2e13039666d4ff6bcae85d8fd3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for sentry-stack-checker 0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.