Improves code PEP8 compliance and adds ruff check

This commit is contained in:
tek
2023-03-01 16:43:08 -05:00
parent fc4e2a9029
commit 4ed8ff51ff
26 changed files with 79 additions and 57 deletions
+4 -2
View File
@@ -3,15 +3,17 @@
# Use of this software is governed by the MVT License 1.1 that can be found at
# https://license.mvt.re/1.1/
import os
import logging
from ..utils import get_artifact_folder
import os
from mvt.common.utils import (convert_datetime_to_iso, convert_mactime_to_iso,
convert_unix_to_iso,
convert_unix_to_utc_datetime,
generate_hashes_from_path,
get_sha256_from_file_path)
from ..utils import get_artifact_folder
TEST_DATE_EPOCH = 1626566400
TEST_DATE_ISO = "2021-07-18 00:00:00.000000"
TEST_DATE_MAC = TEST_DATE_EPOCH - 978307200