Skip to content

Commit

Permalink
Fix wemake-python-styleguide errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfinus committed Jan 9, 2025
1 parent bda48ed commit 5d87215
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import logging

import pytest
Expand Down Expand Up @@ -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"):
Expand Down

0 comments on commit 5d87215

Please sign in to comment.