Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个代码库(C++、Python),Python 2 和 Python 3 脚本分散在整个源代码中。
我想针对代码库中的各种子目录运行 pyflakes(以及 pyflakes 中的 pytest),但是当我从 Python 2 运行 pyflakes 时,它在 Python 3 脚本上失败了。
有没有一种干净的方法可以针对混合的 Python 2 和 Python 3 代码库运行 pyflakes?