Pyflakes和混合Python代码库

时间:2017-01-11 22:44:53

标签: python pyflakes

我有一个代码库(C ++,Python),其中包含分散在整个源代码中的Python 2和Python 3脚本。

我想对代码库中的各个子目录运行pyflakes(和pyflakes中的pytest),但是当我从Python 2运行pyflakes时,它在Python 3脚本上失败了。

对于混合的Python 2和Python 3代码库,是否有一种干净的方式来运行pyflakes?

0 个答案:

没有答案