summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorWolfgang Müller2024-11-14 16:58:59 +0100
committerWolfgang Müller2024-11-14 20:45:02 +0100
commit3420d0bfe14486856802cd138b8b4de5b54e6c7d (patch)
treeedecba69bb78ef370709a4e7764c8e61719965e3 /src
parent11d177eeaac042acb55c99edcb0c01c66cdda664 (diff)
downloadhircine-3420d0bfe14486856802cd138b8b4de5b54e6c7d.tar.gz
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/
Diffstat (limited to 'src')
-rw-r--r--src/hircine/api/inputs.py2
1 files changed, 1 insertions, 1 deletions
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