diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2018-03-27 14:30:46 -0400 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2018-04-05 14:41:58 -0400 |
commit | c50c68fef179d9306f1a3432f48985bf20555e38 (patch) | |
tree | a1c208329a090c54a8a1f02558b2be87b830a8ab /buildscripts/resmokelib/utils/autoloader.py | |
parent | a5dacf7092f51055dd774a1911a48815bb9a1e0e (diff) | |
download | mongo-c50c68fef179d9306f1a3432f48985bf20555e38.tar.gz |
SERVER-23312 Python linting - Lint using pylint, pydocstyle & mypy
Diffstat (limited to 'buildscripts/resmokelib/utils/autoloader.py')
-rw-r--r-- | buildscripts/resmokelib/utils/autoloader.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/buildscripts/resmokelib/utils/autoloader.py b/buildscripts/resmokelib/utils/autoloader.py index 1ac58abc892..73b58563451 100644 --- a/buildscripts/resmokelib/utils/autoloader.py +++ b/buildscripts/resmokelib/utils/autoloader.py @@ -1,6 +1,4 @@ -""" -Utility for loading all modules within a package. -""" +"""Utility for loading all modules within a package.""" from __future__ import absolute_import @@ -9,8 +7,7 @@ import pkgutil def load_all_modules(name, path): - """ - Dynamically loads all modules in the 'name' package. + """Dynamically load all modules in the 'name' package. This function is useful in combination with the registry.py module so that any classes declared within the package are automatically |