我的 python 代码产生以下警告消息:
(1) \dir\file.py:8:1 W293 blank lines contains whitespace
this comes after commands[0] flake8 XXX
你如何解决这个问题?
使用相同的原理这个问题 https://stackoverflow.com/questions/1024435/howto-fix-python-indentation, 您可以使用autopep8 https://pypi.python.org/pypi/autopep8自动修复这些问题。语法是...
autopep8 --select=W293 --in-place your_file.py
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)