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

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