From: Aleš Mrázek Date: Sat, 10 Jan 2026 23:33:30 +0000 (+0100) Subject: python: client: ignore INP001 for commands modules X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7422f29025dc2a5a7379307abe85abba2fa4d4d;p=thirdparty%2Fknot-resolver.git python: client: ignore INP001 for commands modules --- diff --git a/python/knot_resolver/client/commands/cache.py b/python/knot_resolver/client/commands/cache.py index a1bebeedc..09d3d0b66 100644 --- a/python/knot_resolver/client/commands/cache.py +++ b/python/knot_resolver/client/commands/cache.py @@ -1,3 +1,4 @@ +# noqa: INP001 import argparse import sys from enum import Enum diff --git a/python/knot_resolver/client/commands/completion.py b/python/knot_resolver/client/commands/completion.py index 5e3d36288..206fe58b9 100644 --- a/python/knot_resolver/client/commands/completion.py +++ b/python/knot_resolver/client/commands/completion.py @@ -1,3 +1,4 @@ +# noqa: INP001 import argparse from enum import Enum from typing import List, Tuple, Type diff --git a/python/knot_resolver/client/commands/config.py b/python/knot_resolver/client/commands/config.py index d13d24d95..090113dc4 100644 --- a/python/knot_resolver/client/commands/config.py +++ b/python/knot_resolver/client/commands/config.py @@ -1,3 +1,4 @@ +# noqa: INP001 import argparse import sys from enum import Enum diff --git a/python/knot_resolver/client/commands/convert.py b/python/knot_resolver/client/commands/convert.py index 1fa9b58a7..097a29997 100644 --- a/python/knot_resolver/client/commands/convert.py +++ b/python/knot_resolver/client/commands/convert.py @@ -1,3 +1,4 @@ +# noqa: INP001 import argparse import sys from pathlib import Path diff --git a/python/knot_resolver/client/commands/debug.py b/python/knot_resolver/client/commands/debug.py index 14341e9d4..d4468471e 100644 --- a/python/knot_resolver/client/commands/debug.py +++ b/python/knot_resolver/client/commands/debug.py @@ -1,3 +1,4 @@ +# noqa: INP001 import argparse import json import os diff --git a/python/knot_resolver/client/commands/help.py b/python/knot_resolver/client/commands/help.py index 949420911..6f3dbb6f1 100644 --- a/python/knot_resolver/client/commands/help.py +++ b/python/knot_resolver/client/commands/help.py @@ -1,3 +1,4 @@ +# noqa: INP001 import argparse from typing import List, Tuple, Type diff --git a/python/knot_resolver/client/commands/metrics.py b/python/knot_resolver/client/commands/metrics.py index 57ff91719..2f9c9fdad 100644 --- a/python/knot_resolver/client/commands/metrics.py +++ b/python/knot_resolver/client/commands/metrics.py @@ -1,3 +1,4 @@ +# noqa: INP001 import argparse import sys from typing import List, Optional, Tuple, Type diff --git a/python/knot_resolver/client/commands/migrate.py b/python/knot_resolver/client/commands/migrate.py index b870d63cd..df8742548 100644 --- a/python/knot_resolver/client/commands/migrate.py +++ b/python/knot_resolver/client/commands/migrate.py @@ -1,3 +1,4 @@ +# noqa: INP001 import argparse import copy import sys diff --git a/python/knot_resolver/client/commands/pids.py b/python/knot_resolver/client/commands/pids.py index a1ab5f8c8..ce8d2b4f7 100644 --- a/python/knot_resolver/client/commands/pids.py +++ b/python/knot_resolver/client/commands/pids.py @@ -1,3 +1,4 @@ +# noqa: INP001 import argparse import json import sys diff --git a/python/knot_resolver/client/commands/reload.py b/python/knot_resolver/client/commands/reload.py index 26d0a24f6..69c602401 100644 --- a/python/knot_resolver/client/commands/reload.py +++ b/python/knot_resolver/client/commands/reload.py @@ -1,3 +1,4 @@ +# noqa: INP001 import argparse import sys from typing import List, Tuple, Type diff --git a/python/knot_resolver/client/commands/schema.py b/python/knot_resolver/client/commands/schema.py index c5e4dfc44..aac962b29 100644 --- a/python/knot_resolver/client/commands/schema.py +++ b/python/knot_resolver/client/commands/schema.py @@ -1,3 +1,4 @@ +# noqa: INP001 import argparse import json import sys diff --git a/python/knot_resolver/client/commands/stop.py b/python/knot_resolver/client/commands/stop.py index 35baf36ca..3cf34d60b 100644 --- a/python/knot_resolver/client/commands/stop.py +++ b/python/knot_resolver/client/commands/stop.py @@ -1,3 +1,4 @@ +# noqa: INP001 import argparse import sys from typing import List, Tuple, Type diff --git a/python/knot_resolver/client/commands/validate.py b/python/knot_resolver/client/commands/validate.py index 0b71983a7..4befcce33 100644 --- a/python/knot_resolver/client/commands/validate.py +++ b/python/knot_resolver/client/commands/validate.py @@ -1,3 +1,4 @@ +# noqa: INP001 import argparse import sys from pathlib import Path