Make linting happy.

This commit is contained in:
turturica 2018-08-23 22:58:36 -07:00
parent 5f8b50c094
commit 72e6482994
1 changed files with 5 additions and 2 deletions

View File

@ -598,13 +598,16 @@ class Package(Module):
continue
for pkg_prefix in pkg_prefixes:
if pkg_prefix in path.parts() and pkg_prefix.join('__init__.py') != path:
if (
pkg_prefix in path.parts()
and pkg_prefix.join("__init__.py") != path
):
skip = True
if skip:
continue
if path.isdir() and path.join('__init__.py').check(file=1):
if path.isdir() and path.join("__init__.py").check(file=1):
pkg_prefixes.add(path)
for x in self._collectfile(path):