A flake8 extension that helps to make more readable variables names
An extension for flake8 that helps to make more readable variables names.
We believe, that variable name should unmistakably shows, what it contains.
Thats why we try not to use varnames with only one symbol or not to use
too common names, such as
This extensions helps to detect such names. By default it works in
non-strict mode. You can change it with
parameter end extend variable names blacklist even more.
pip install flake8-variables-names
# test.py a = 1 foo = 2 result = a + foo
$ flake8 test.py test.py:1:1: VNE001 single letter variable names are not allowed test.py:2:1: VNE002 variable name should be clarified
|VNE001||single letter variable names like 'XXX' are not allowed|
|VNE002||variable name 'XXX' should be clarified|
|VNE003||variable names that shadow builtins are not allowed|
We would love you to contribute to our project. It's simple:
- Create an issue with bug you found or proposal you have. Wait for approve from maintainer.
- Create a pull request. Make sure all checks are green.
- Fix review comments if any.
- Be awesome.
Here are useful tips:
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size flake8_variables_names-0.0.4.tar.gz (4.7 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for flake8_variables_names-0.0.4.tar.gz