From 5d87215341a13ae7c1c057d10ce8f8eb588f10ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D1=80=D1=82=D1=8B=D0=BD=D0=BE=D0=B2=20=D0=9C?= =?UTF-8?q?=D0=B0=D0=BA=D1=81=D0=B8=D0=BC=20=D0=A1=D0=B5=D1=80=D0=B3=D0=B5?= =?UTF-8?q?=D0=B5=D0=B2=D0=B8=D1=87?= Date: Thu, 9 Jan 2025 11:56:09 +0300 Subject: [PATCH] Fix wemake-python-styleguide errors --- tests/test_core.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_core.py b/tests/test_core.py index b0c4a7c..6a095b5 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -1,3 +1,5 @@ +from __future__ import annotations + import logging import pytest @@ -31,7 +33,7 @@ def main2(): def test_core_decorator_args(): @evacuator() - def main(arg, kwarg: int | None = None, *args, **kwargs): + def main(arg, *args, kwarg: int | None = None, **kwargs): raise NeedEvacuation(f"arg={arg} kwarg={kwarg} args={args} kwargs={kwargs}") with pytest.raises(SystemExit, match="125"):