Commit graph

2 commits

Author SHA1 Message Date
Jon Dufresne
88f23594e2 Comply with flake8-import-order
Fixes errors:

  src/flake8/__init__.py:22:1: I202 Additional newline in a section of imports.
  tests/unit/test_setuptools_command.py:4:1: I202 Additional newline in a section of imports.

For src/flake8/__init__.py, simply remove the Python 2.6 workaround.
logging.NullHandler is available on all supported Python versions.
2017-11-26 09:19:04 -08:00
Ian Cordasco
9f8dfd924a
Return similarly named, non-submodule modules
In our setuptools integration command, we were attempting to avoid
checking each submodule in the packages list. This was done without
recognizing that two modules may start with the same prefix, e.g.,

- foo
- foo_bar
- foo_biz

In this case, we only ever checked ``foo``. By appending a '.' to the
end of each package name, we avoid this since we only care about
deduplicating submodules, e.g.,

- foo
- foo.sub
- foo.sub.sub

Closes #295
2017-01-22 15:00:48 -06:00