@@ -632,8 +632,8 @@ def setup_args() -> None: # noqa: PLR0912, PLR0915
632
632
'--rank-threshold' ,
633
633
type = int ,
634
634
default = DEFAULT_HFH_RANK_THRESHOLD ,
635
- help = 'Filter results to only show those with rank value at or below this threshold (e.g., --rank-threshold 3 returns results with rank 1, 2, or 3). '
636
- 'Lower rank values indicate higher quality matches.' ,
635
+ help = 'Filter results to only show those with rank value at or below this threshold (e.g., --rank-threshold 3 '
636
+ 'returns results with rank 1, 2, or 3). Lower rank values indicate higher quality matches.' ,
637
637
)
638
638
p_folder_scan .set_defaults (func = folder_hashing_scan )
639
639
@@ -1448,7 +1448,7 @@ def utils_certloc(*_):
1448
1448
Run the "utils certloc" sub-command
1449
1449
:param _: ignored/unused
1450
1450
"""
1451
- import certifi # noqa: PLC0415,I001
1451
+ import certifi # noqa: PLC0415,I001
1452
1452
1453
1453
print (f'CA Cert File: { certifi .where ()} ' )
1454
1454
@@ -1459,11 +1459,11 @@ def utils_cert_download(_, args): # pylint: disable=PLR0912 # noqa: PLR0912
1459
1459
:param _: ignore/unused
1460
1460
:param args: Parsed arguments
1461
1461
"""
1462
- import socket # noqa: PLC0415,I001
1463
- import traceback # noqa: PLC0415,I001
1464
- from urllib .parse import urlparse # noqa: PLC0415,I001
1462
+ import socket # noqa: PLC0415,I001
1463
+ import traceback # noqa: PLC0415,I001
1464
+ from urllib .parse import urlparse # noqa: PLC0415,I001
1465
1465
1466
- from OpenSSL import SSL , crypto # noqa: PLC0415,I001
1466
+ from OpenSSL import SSL , crypto # noqa: PLC0415,I001
1467
1467
1468
1468
file = sys .stdout
1469
1469
if args .output :
@@ -1511,7 +1511,7 @@ def utils_pac_proxy(_, args):
1511
1511
:param _: ignore/unused
1512
1512
:param args: Parsed arguments
1513
1513
"""
1514
- from pypac .resolver import ProxyResolver # noqa: PLC0415,I001
1514
+ from pypac .resolver import ProxyResolver # noqa: PLC0415,I001
1515
1515
1516
1516
if not args .pac :
1517
1517
print_stderr ('Error: No pac file option specified.' )
@@ -1585,7 +1585,7 @@ def crypto_algorithms(parser, args):
1585
1585
sys .exit (1 )
1586
1586
except Exception as e :
1587
1587
if args .debug :
1588
- import traceback # noqa: PLC0415,I001
1588
+ import traceback # noqa: PLC0415,I001
1589
1589
1590
1590
traceback .print_exc ()
1591
1591
print_stderr (f'ERROR: { e } ' )
@@ -1627,7 +1627,7 @@ def crypto_hints(parser, args):
1627
1627
sys .exit (1 )
1628
1628
except Exception as e :
1629
1629
if args .debug :
1630
- import traceback # noqa: PLC0415,I001
1630
+ import traceback # noqa: PLC0415,I001
1631
1631
1632
1632
traceback .print_exc ()
1633
1633
print_stderr (f'ERROR: { e } ' )
@@ -1669,7 +1669,7 @@ def crypto_versions_in_range(parser, args):
1669
1669
sys .exit (1 )
1670
1670
except Exception as e :
1671
1671
if args .debug :
1672
- import traceback # noqa: PLC0415,I001
1672
+ import traceback # noqa: PLC0415,I001
1673
1673
1674
1674
traceback .print_exc ()
1675
1675
print_stderr (f'ERROR: { e } ' )
0 commit comments