Add doctests to some of this stuff.
[python_utils.git] / misc_utils.py
index a4757bd3a0f6b37a1111b320ec907c9aea5f6592..fc1d5c28e86c5201ec25a800c93f4ce749578402 100644 (file)
@@ -2,5 +2,7 @@
 
 import os
 
+
 def is_running_as_root() -> bool:
+    """Returns True if running as root."""
     return os.geteuid() == 0