3 ms·
This article makes no mention of flake8: http://flake8.readthedocs.org/en/2.0/ http://flake8.readthedocs.org/en/2.0/ which is the up-to-date python style check
by mapleoin 13y ago
This article makes no mention of flake8: http://flake8.readthedocs.org/en/2.0/ http://flake8.readthedocs.org/en/2.0/
which is the up-to-date python style checker built on top of pep8 and pyflakes.
- etfb 13y agoSome of the stuff in PEP8 is pretty subjective. What's the state of play for fixing that with an automated tool? Does is spit out advisories, or has some effort been put into the Small Matter Of Programming of interpreting the intent of code? I presume nothing can be done about x += 1 # increment x
- herge 13y agoYou can pass flags to pep8 to ignore specific errors. For our project, we have: --max-line-lenght=120 --ignore=E128
- kvalle 13y agoCame to say the same. A call to flake8 is a very useful step in most of my Git pre-committ hooks.