diff --git a/src/__main__.py b/src/__main__.py index a236be8..aaa789f 100644 --- a/src/__main__.py +++ b/src/__main__.py @@ -1,13 +1,14 @@ # To run from the root project directory, run the following command: # python -m src.__main__ -from loguru import logger -from .utils import upload, delete, utils - import argparse import os -import dotenv -from sys import exit, stderr from pathlib import Path +from sys import exit, stderr + +import dotenv +from loguru import logger + +from .utils import delete, upload, utils TOKEN = None ACCOUNT_ID = None diff --git a/src/utils/delete.py b/src/utils/delete.py index 1662bc5..159c8be 100644 --- a/src/utils/delete.py +++ b/src/utils/delete.py @@ -1,6 +1,7 @@ # This is a scriprt to undo the changes made by adblock-zerotrust.py import requests + from . import utils diff --git a/src/utils/upload.py b/src/utils/upload.py index d97192b..2c73458 100644 --- a/src/utils/upload.py +++ b/src/utils/upload.py @@ -1,7 +1,9 @@ -import requests -from . import utils import pathlib +import requests + +from . import utils + def get_blocklists(hosts_path: str = None): blocklists = [] diff --git a/src/utils/utils.py b/src/utils/utils.py index 745c24a..c38071f 100644 --- a/src/utils/utils.py +++ b/src/utils/utils.py @@ -1,5 +1,6 @@ import pathlib import re + import requests