From 3420d0bfe14486856802cd138b8b4de5b54e6c7d Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Thu, 14 Nov 2024 16:58:59 +0100 Subject: backend/lint: Ignore B027 in api/inputs.py Even though our base class here is abstract, this method is not, so we can ignore B027 [1]. [1] https://docs.astral.sh/ruff/rules/empty-method-without-abstract-decorator/ --- src/hircine/api/inputs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hircine/api/inputs.py b/src/hircine/api/inputs.py index a9cf272..1f0e08e 100644 --- a/src/hircine/api/inputs.py +++ b/src/hircine/api/inputs.py @@ -84,7 +84,7 @@ class Fetchable(ABC): except AttributeError: return UpdateMode.REPLACE - @classmethod + @classmethod # noqa: B027 async def constrain_item(cls, item, ctx: MutationContext): pass -- cgit v1.2.3-2-gb3c3