summaryrefslogtreecommitdiff
path: root/pylint/lint/expand_modules.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/lint/expand_modules.py')
-rw-r--r--pylint/lint/expand_modules.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pylint/lint/expand_modules.py b/pylint/lint/expand_modules.py
index 296e6b577..236e49c99 100644
--- a/pylint/lint/expand_modules.py
+++ b/pylint/lint/expand_modules.py
@@ -18,7 +18,9 @@ def _modpath_from_file(filename, is_namespace, path=None):
def get_python_path(filepath: str) -> str:
"""TODO This get the python path with the (bad) assumption that there is always
- an __init__.py. This is not true since python 3.3 and is causing problem.
+ an __init__.py
+
+ This is not true since python 3.3 and is causing problem.
"""
dirname = os.path.realpath(os.path.expanduser(filepath))
if not os.path.isdir(dirname):