Do not import PathLike directly into module-level namespace

This commit is contained in:
Eric Torres 2019-05-01 11:27:49 -07:00
parent 5c42f2b53f
commit f06acc20a5

View File

@ -5,8 +5,8 @@
""" """
import json import json
import logging import logging
import os
import shutil import shutil
from os import PathLike
from pathlib import Path from pathlib import Path
# ========== Logging Setup =========== # ========== Logging Setup ===========
@ -22,7 +22,7 @@ METADATA_WRITE = "w"
# ========== Classes ========== # ========== Classes ==========
class Hierarchy(PathLike): class Hierarchy(os.PathLike):
"""A general class for organizing a hierarchy of data. """A general class for organizing a hierarchy of data.
**Implementation Details** **Implementation Details**