Skip to content

Commit 07c1c2b

Browse files
committed
lint fixes
1 parent 8d44cb7 commit 07c1c2b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/riskdb/lister/kind.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# pylint: disable=R0914
1+
# pylint: disable=R0914,R0912,R0915
22

33
from hashlib import md5
44
from pathlib import Path
@@ -67,7 +67,7 @@ def list_kind(tmp_dir: Path):
6767
)
6868

6969
asns, nets, ips = build_objects(loader=loader, lookup_lists=lookup_lists, ptrs=ptrs)
70-
log(f' > Process ASNs')
70+
log(' > Process ASNs')
7171
for asn_o in asns.values():
7272
if asn_o.id in processed['asn']:
7373
continue
@@ -78,7 +78,7 @@ def list_kind(tmp_dir: Path):
7878
if asn_o.id not in kinds['asn'][k]:
7979
kinds['asn'][k].add(asn_o.id)
8080

81-
log(f' > Process Nets')
81+
log(' > Process Nets')
8282
for net_o in nets.values():
8383
cache_key = f"{net_o.net_cidr}_{'-'.join(net_o.kind)}"
8484
cache_key = md5(cache_key.encode('utf-8')).hexdigest()[:6]
@@ -91,7 +91,7 @@ def list_kind(tmp_dir: Path):
9191
if net_o.net_cidr not in kinds['net'][k]:
9292
kinds['net'][k].add(net_o.net_cidr)
9393

94-
log(f' > Process IPs')
94+
log(' > Process IPs')
9595
for ip_o in ips.values():
9696
cache_key = md5(ip_o.ip.encode('utf-8')).hexdigest()[:6]
9797
if cache_key in processed['ip']:

0 commit comments

Comments
 (0)