Skip to content

I want a rule that will catch @pytest.mark.django_db()() #262

@sobolevn

Description

@sobolevn

Rule request

Description

This code was allowed: tough-dev-school/python-testing-homework@352aa9b

So, I propose to forbid it:

@pytest.mark.whatever()()
def test_health_check() -> None: ...

Double call is clearly not correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions