Skip to content

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

License

Notifications You must be signed in to change notification settings

winmasta/pylint-exception-var-name-plugin

Repository files navigation

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 pylint_exception_var_name_plugin FILES_TO_CHECK

Add to pylintrc file to set ALLOWED_VAR_NAME:

[VARIABLES]
exception-var-name=ALLOWED_VAR_NAME

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages