Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
funilrys committed Dec 19, 2023
1 parent 180d05e commit 5bc8b02
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion tests/query/dnss/test_nameserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@
except (ModuleNotFoundError, ImportError):
from ... import pyf_test_dataset

# pylint: disable=invalid-field-call


class TestNameserver(unittest.TestCase):
"""
Expand All @@ -92,7 +94,9 @@ def tearDown(self) -> None:
del self.config_loader

@staticmethod
def fake_resolve_response(data: str) -> object:
def fake_resolve_response(
data: str,
) -> object:
"""
Provides a fake resolve response to use.
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/query/dnss/test_query_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
from PyFunceble.config.loader import ConfigLoader
from PyFunceble.query.dns.query_tool import DNSQueryTool, DNSQueryToolRecord

# pylint: disable=protected-access, too-many-lines
# pylint: disable=protected-access, too-many-lines, invalid-field-call


class TestDNSQueryTool(unittest.TestCase):
Expand Down
2 changes: 2 additions & 0 deletions tests/query/dnss/test_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
from PyFunceble.config.loader import ConfigLoader
from PyFunceble.query.dns.resolver import Resolver

# pylint: disable=invalid-field-call


class TestResolver(unittest.TestCase):
"""
Expand Down

0 comments on commit 5bc8b02

Please sign in to comment.