Update pathlib import to only import Path
Background
To keep consistency with how Path is imported, we should change all files to only import Path instead of all of pathlib.
Example:
import pathlib
pathlib.Path(...)
should be changed to
from pathlib import Path
Path(...)
Acceptance Criteria
-
all import pathlib
s should be changed tofrom pathlib import Path
-
abstract_artifacts.py -
test_abstract_artifacts.py -
test_artifacts.py -
test_file_parser.py -
test_hardening_manifest.py -
test_project.py -
anchore.py -
test_anchore.py -
test_downloader.py -
scan_logic_jobs.py -
test_image_verify.py
-
Definition of Done
-
Write or update any unit or integration tests -
Project pipeline runs successfully -
Solution is captured as code and/or documentation and merge requests have been submitted -
Code review completed and merge request approved/merged -
All Acceptance Criteria have been completed
Edited by Michael Johnson