Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

pylint

//first install pylint using the following command
pip install pylint

//to execute pylint we can do this from the terminal (not in the python shell)
pylint .<filename.py>

//the output of this command will be a list of coding standards
//which have been violated which can be amended
//for example a function named "makeGrid()" will be flagged as python
//makes use of snake casing "make_grid()"
Source by pypi.org #
 
PREVIOUS NEXT
Tagged: #pylint
ADD COMMENT
Topic
Name
1+4 =