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/ 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..037e28d 100644 --- a/whoisdomain/context/parameterContext.py +++ b/whoisdomain/context/parameterContext.py @@ -2,7 +2,6 @@ import json import logging from dataclasses import asdict, dataclass -from typing import Any log = logging.getLogger(__name__) diff --git a/whoisdomain/domain.py b/whoisdomain/domain.py index d953c0d..73c4121 100644 --- a/whoisdomain/domain.py +++ b/whoisdomain/domain.py @@ -11,6 +11,7 @@ log = logging.getLogger(__name__) + class Domain: def __init__( self,