Open discort opened 7 years ago
I'm not too concerned with PEP 8 things. Most of the rules you cited are things I don't completely agree with, and definitely don't think should be enforced with tests. Many are so controversial that they aren't even enabled by default in pycodestyle (previously called pep8).
I do agree that we need tests (it's mostly an issue of figuring out how, see https://github.com/inducer/pudb/issues/40). Running pyflakes could be helpful too (unlike pycodestyle, pyflakes only flags logical errors, not style errors). It would need to be configured to ignore Python 3 compatibility stuff and some other false positives.
The main issue is testing not PEP8 things (PEP 8 just helps different people to follow the similar code style).
I do agree that we need tests (it's mostly an issue of figuring out how, see #40).
Start from a testing of single functions and increase the code coverage, then do more complicated stuff
Problem There are no tests, so developers can't make pull requests without breaking the code. The issue probably related with #40 Also, need to standardize the code as much as possible. At the moment these PEPs are ignored:
E126,E127,E128,E123,E226,E241,E242,E265,W503,E402
Solution