Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add new CLI options for skipping a number of lines at the beginning and end of a file from being checked #143
I work with lots of Python code that resides in files where there is non-Python header and footer information in the files that is necessary for the larger system. These header and footer lines throw the pep8 checker off so I've added these CLI options that allow these lines to be ignored during the check. If the check is being run against a directory these options apply to all files found and checked.
Most users will not need this feature. I prefer to keep it out of the core library.
However I re-used your proposal as an example for advanced usage: