More cleanup, yey!
[python_utils.git] / function_utils.py
index 5b709819026659ec024f889eb3ea107c249c6543..f10776211df3ef8347d48486671577bc18d044bc 100644 (file)
@@ -1,5 +1,7 @@
 #!/usr/bin/env python3
 
+"""Helper methods dealing with functions."""
+
 from typing import Callable
 
 
@@ -18,7 +20,9 @@ def function_identifier(f: Callable) -> str:
     """
     if f.__module__ == '__main__':
         from pathlib import Path
+
         import __main__
+
         module = __main__.__file__
         module = Path(module).stem
         return f'{module}:{f.__name__}'