flake8 not picking up config file

隐身守侯 提交于 2019-12-23 08:57:43

问题


I have my flake8 config file in ~/.config/flake8

[flake8]
max-line-length = 100

However when I run flake8 the config file is not picked up. I know that because i still get warnings over lines longer than 79 char.

I'm on redhat, but the same happens on mac.

I use pyenv. Global is 2.7.6 (not even sure this is relevant)


回答1:


This was caused by a regression in pep8 1.6.1 and is resolved in the just released 1.6.2 version.



来源:https://stackoverflow.com/questions/28436382/flake8-not-picking-up-config-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!