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

pylint-exception-var-name-plugin-0.1.2.tar.gz (2.7 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page