Skip to content

Commit e5f65ad

Browse files
authored
sync (#51)
* specific C901 ignore * initial tests whodap * testing * use dataresponse with message in case of error * remove pylint, simplefy ruff * test whoisdomain formatting with raw * move classes to files * testing * set ruff checks more explicit on items * cleanup ruff rule errors in the code * lint clean again * more ruff rules clarify * diocument all exceptions in ruff rules * rdap info first , if none try whois * cleanup tld db * testing * update readme * update readme * update readme * update readme * update ci cd gh-action * add flags rdapOnly and whoisOnly * main now has --whoisOnly and --rdapOnly for testing it * version 2.20260522.1 * round one Claude code review * replace parametercontext * add __lookup__ rdap/whois * format
1 parent 8edb89b commit e5f65ad

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

whoisdomain/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def q2(
208208
if dd.status:
209209
with_rdap_whois = True
210210
d: dict[str, Any] = wr.map_data_to_whoisdomain(dd.data, with_rdap_whois=with_rdap_whois)
211-
d['__lookup__'] = 'rdap'
211+
d["__lookup__"] = "rdap"
212212

213213
rr = Domain(pc=pc, dc=dc)
214214
rr.from_whodap_dict(d)

whoisdomain/context/parameterContext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import json
33
import logging
44
from dataclasses import asdict, dataclass
5-
from typing import Any
5+
66

77
log = logging.getLogger(__name__)
88

0 commit comments

Comments
 (0)