From e5f65ad821eb490255ebf0be94ea1bcd684d5ba8 Mon Sep 17 00:00:00 2001 From: mboot-github <130295084+mboot-github@users.noreply.github.com> Date: Fri, 22 May 2026 14:28:01 +0200 Subject: [PATCH 1/2] 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 --- whoisdomain/__init__.py | 2 +- whoisdomain/context/parameterContext.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/whoisdomain/__init__.py b/whoisdomain/__init__.py index b5deade..86a832d 100644 --- a/whoisdomain/__init__.py +++ b/whoisdomain/__init__.py @@ -208,7 +208,7 @@ def q2( if dd.status: with_rdap_whois = True d: dict[str, Any] = wr.map_data_to_whoisdomain(dd.data, with_rdap_whois=with_rdap_whois) - d['__lookup__'] = 'rdap' + d["__lookup__"] = "rdap" rr = Domain(pc=pc, dc=dc) rr.from_whodap_dict(d) diff --git a/whoisdomain/context/parameterContext.py b/whoisdomain/context/parameterContext.py index a0229e9..066c043 100644 --- a/whoisdomain/context/parameterContext.py +++ b/whoisdomain/context/parameterContext.py @@ -2,7 +2,7 @@ import json import logging from dataclasses import asdict, dataclass -from typing import Any + log = logging.getLogger(__name__) From e791a0d78703b91e07d251c8b28aee52f34ed539 Mon Sep 17 00:00:00 2001 From: mboot-github <130295084+mboot-github@users.noreply.github.com> Date: Fri, 22 May 2026 14:34:15 +0200 Subject: [PATCH 2/2] Update lint.yml (#53) --- .github/workflows/lint.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index bbad563..41f7d34 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,9 +25,6 @@ jobs: python -m pip install --upgrade pip pip install ruff tld types-redis types-requests python-dateutil whodap - - name: Run ruff format check - run: ruff format --check whoisdomain/ - - name: Run ruff lint run: ruff check whoisdomain/