Skip to content

Commit 5f7ad4d

Browse files
committed
Fix linting issues.
1 parent 3672287 commit 5f7ad4d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

PyFunceble/query/dns/query_tool.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
limitations under the License.
5151
"""
5252

53+
# pylint: disable=too-many-lines
54+
5355
import copy
5456
import functools
5557
import ipaddress

tests/query/dnss/test_query_tool.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,7 @@ def test_guess_and_set_delay_less_than_zero(self) -> None:
763763
config_loader = ConfigLoader()
764764
config_loader.set_custom_config({"dns": {"delay": -3.0}}).start()
765765

766+
# pylint: disable=unnecessary-lambda
766767
self.assertRaises(ValueError, lambda: self.query_tool.guess_and_set_delay())
767768

768769
def test_guess_and_set_delay_none(self) -> None:

0 commit comments

Comments
 (0)