Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Pyright detected issues #378

@mgzenitech

Description

@mgzenitech
from ward import fixture, Scope

@fixture(scope = Scope.Global)
...

this returns two issues:
from ward import >>>fixture<<<

Type of "fixture" is partially unknown
  Type of "fixture" is "(func: Unknown | None = None, *, scope: Scope | str = Scope.Test) -> (partial[Unknown] | _Wrapped[..., Unknown, (*args: Unknown, **kwargs: Unknown), Unknown])"

>>>@fixture(scope = Scope.Global)<<<

  Untyped function decorator obscures type of function; ignoring decorator

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions