Commit graph

3 commits

Author SHA1 Message Date
Rogier van der Geer
af2f71c910 Convert namespace package names into paths
Namespace packages, which have a name like "namespace.package" need to
be converted to paths in order to be found by flake8 - as the code
is in "namespace/package/".
2019-12-13 12:19:25 +01:00
Ian Stapleton Cordasco
a3a2539a23
Fix-up new I202 violations 2017-11-26 11:25:06 -06: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