Pull requests

#22 Declined
Repository
magopian magopian
Branch
support-exclude
Repository
tarek tarek
Branch
default

Take the --exclude param into account

Author
  1. Mathieu Agopian
Reviewers
Description

pep8 accepts a --exclude parameter, which isn't taken into account by flake8.

This patch fixes this issue by duplicating the excluded function in pep8 (which uses the options global), and using it in the _get_python_files function.

Comments (4)

  1. Tarek Ziadé repo owner

    two more things: - this option needs to be documented in the flake8 script - this option needs to be applied to the two other controllers as well (mccabe & pyflakes)

  2. Mathieu Agopian author

    I'll just close this PR as it won't fit, and I need to think about it in a more general way, to indeed add all (most of?) pep8 (and pyflake and mccabe?) parameters into account. If I find a way, I'll get back to you ;)