Skip to main content

Plugin for pylint which allows to define and check variable name for exception

Project description

Plugin for pylint which allows defining and checking variable name for exception (like e or exc or other)

Install:

pip install pylint-exception-var-name-plugin

Usage:

pylint --load-plugins exception_var_name FILES_TO_CHECK

ALLOWED_VAR_NAME default is e. Can be set in command line:

pylint --load-plugins exception_var_name ALLOWED_VAR_NAME FILES_TO_CHECK

or in pylint config file (pylintrc)

exception-var-name=ALLOWED_VAR_NAME

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

File details

Details for the file pylint-exception-var-name-plugin-0.1.2.tar.gz.

File metadata

File hashes

Hashes for pylint-exception-var-name-plugin-0.1.2.tar.gz
Algorithm Hash digest
SHA256 be0c59d78812e0660e31d586efa5b1700bd8194c9d0c962d8a07ab50e9ed152f
MD5 58e0cbb131fb044a1cb3276b7f75cad3
BLAKE2b-256 d200efbafc0611ff6e79f8bf1acf7d81aeb241a8561b596c180c7f515c5aa16e

See more details on using hashes here.

File details

Details for the file pylint_exception_var_name_plugin-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pylint_exception_var_name_plugin-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8d4ee51b9e846c428a7b71bf6d14cb33b3c4bbd60359d8d6deb984e3e1fc4ff8
MD5 1b68fa7f28a6ebb4c9cc30ba69caca9c
BLAKE2b-256 dad6cf43e5815a9bb18aae893bf4b734f7a1ae386690986d5a270b42773f688b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page