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
Release history Release notifications | RSS feed
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
- Download URL: pylint-exception-var-name-plugin-0.1.2.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.8.10 Linux/5.4.0-84-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be0c59d78812e0660e31d586efa5b1700bd8194c9d0c962d8a07ab50e9ed152f |
|
MD5 | 58e0cbb131fb044a1cb3276b7f75cad3 |
|
BLAKE2b-256 | d200efbafc0611ff6e79f8bf1acf7d81aeb241a8561b596c180c7f515c5aa16e |
File details
Details for the file pylint_exception_var_name_plugin-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: pylint_exception_var_name_plugin-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.8.10 Linux/5.4.0-84-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d4ee51b9e846c428a7b71bf6d14cb33b3c4bbd60359d8d6deb984e3e1fc4ff8 |
|
MD5 | 1b68fa7f28a6ebb4c9cc30ba69caca9c |
|
BLAKE2b-256 | dad6cf43e5815a9bb18aae893bf4b734f7a1ae386690986d5a270b42773f688b |