Two main approaches. Correct the errors as they appear so that there are no old ones. Or, if you have no intention of fixing certain types of lint errors, tell lint to stop reporting them.
If you have many files, it would be nice to get a lint report for each file separately, record the lint reports for version control, such as svn, and then use the diff utility for version control to separate new lint errors from old ones. The reason for separate reports for each .py file is to make reading diff output easier.
If you are on Linux, vim -d oldfile newfile is a great way to read diff. If you're on Windows, just use the diff function built into Tortoise SVN.
Michael dillon
source share