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

Pyright detected issues #378

Open
mgzenitech opened this issue Mar 25, 2024 · 0 comments
Open

Pyright detected issues #378

mgzenitech opened this issue Mar 25, 2024 · 0 comments

Comments

@mgzenitech
Copy link

mgzenitech commented Mar 25, 2024

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant