天天看點

pep8檢查

cd 到程式目錄下後,在xshell指令行中輸入:

autopep8 --in-place --aggressive --aggressive filename.py

或者:

autopep8 --in-place --aggressive filename.py

然後在需要檢測的檔案上進行如下選擇:

pep8檢查