代码格式

sudo pip install flake8


flake8 -- max -complexity 10 /home/dc2-user/frank/test/hello.py
第一步  program 去解释器路径选择flake8.exe
第二步 -- max -complexity 10 $FilePath$
第三步 $FileDir$
第四步 $FILE_PATH$:$LINE$:
pip install pylint
http://www.cnblogs.com/yaoliping/archive/2018/10/10/9767834.html

 

tab键转空格

https://segmentfault.com/q/1010000008641856

原文地址:https://www.cnblogs.com/1a2a/p/10138157.html