Skip to content

Commit

Permalink
I think Vscode disagrees with the github black formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
jweezy24 committed Sep 27, 2024
1 parent d52fed5 commit 97e40ca
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
6 changes: 3 additions & 3 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
import hmac
import os
import shlex

from pathlib import Path
from sys import platform


DEV_SUPPRTED = ["android", "ios"] # 'windows', 'mobileos', later
THIS_DIR = Path(__file__).absolute().parent

Expand Down Expand Up @@ -89,7 +87,9 @@ def set_test_mode(test):
else (
"linux"
if platform.startswith("linux")
else "win32" if platform == "win32" else None
else "win32"
if platform == "win32"
else None
)
)

Expand Down
15 changes: 7 additions & 8 deletions parse_dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
import os
import re
import sys
import config
from collections import OrderedDict
from functools import reduce
from pathlib import Path
from plistlib import load
from typing import List, Dict

import pandas as pd
from rsonlite import simpleparse
import config



def count_lspaces(lspaces):
Expand Down Expand Up @@ -587,17 +587,16 @@ def info(self, appid):
res["permissions"] = [(p.capitalize(), r) for p, r in permissions]
res["title"] = app["CFBundleExecutable"]
res["App Version"] = app["CFBundleVersion"]
res["Install Date"] = (
"""
res[
"Install Date"
] = """
Apple does not officially record iOS app installation dates. To view when
'{}' was *last used*: [Settings -> General -> {} Storage]. To view the
*purchase date* of '{}', follow these instructions:
https://www.ipvtechresearch.org/post/guides/apple/. These are the
closest possible approximations to installation date available to
end-users. """.format(
res["title"], self.device_class, res["title"]
)
)
end-users. """.format(res["title"], self.device_class, res["title"])

res["Battery Usage"] = (
"To see recent battery usage of '{title}': "
"[Settings -> Battery -> Battery Usage].".format(**res)
Expand Down
2 changes: 0 additions & 2 deletions phone_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
import blocklist
import config
import parse_dump

import pandas as pd

from collections import defaultdict
from datetime import datetime
from android_permissions import all_permissions
Expand Down

0 comments on commit 97e40ca

Please sign in to comment.