Tong's Work Notes
The learning process
Tuesday, August 1, 2017
How to use pep8 to check trailing white spaces in files
Install pep8
sudo pip install pep8
Then run the following command
pep8 --select=W291,W293 --filename=*.yml *
The above command will check trailing white spaces and lines with only white spaces in the files ending with .yml in the current and sub directories.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment