The script autopep8 will automatically fix and reindent your Python code!
The following shows a "diff" of what PEP8 changes should be made, and then we apply the changes:
$ autopep8 -d collect.py
@@ -29,5 +29,5 @@
-if __name__=='__main__':
+if __name__ == '__main__':
main()
$ autopep8 -i collect.py
Friday, September 2, 2016
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment