diff options
author | Wolfgang Müller | 2024-11-14 16:58:59 +0100 |
---|---|---|
committer | Wolfgang Müller | 2024-11-14 20:45:02 +0100 |
commit | 3420d0bfe14486856802cd138b8b4de5b54e6c7d (patch) | |
tree | edecba69bb78ef370709a4e7764c8e61719965e3 | |
parent | 11d177eeaac042acb55c99edcb0c01c66cdda664 (diff) | |
download | hircine-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/
-rw-r--r-- | src/hircine/api/inputs.py | 2 |
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 |