Skip to content

Commit 5330de2

Browse files
committed
style: apply ruff
1 parent 963db0e commit 5330de2

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

shadowgate/utils/wordlist_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ def _process_url(self, path: str) -> str:
6262
else:
6363
new_path = path[1:] if path.startswith("/") else path
6464
res = f"{scheme}{extra}{url}/{new_path}"
65-
65+
6666
return res

tests/test_logging_setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import logging
2+
23
from shadowgate.logging_setup import get_logger
34

45

tests/test_utils_proxy_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import json
22
from pathlib import Path
3+
34
from shadowgate.utils.proxy_helper import ProxiesLoader, ProxyHandler
4-
from shadowgate.entities.proxy import _parse_from_url
55

66

77
def test_proxies_loader_from_json_and_txt(tmp_path: Path):

tests/test_utils_wordlist_useragent.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import json
22
from pathlib import Path
3-
from shadowgate.utils.wordlist_helper import WordsListLoader, URLBuilder
3+
44
from shadowgate.utils.useragent_helper import UserAgent
5+
from shadowgate.utils.wordlist_helper import URLBuilder, WordsListLoader
56

67

78
def test_wordslist_loader_custom_file(tmp_path: Path):

0 commit comments

Comments
 (0)