Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce scopes identified by types #8060

Open
RonnyPfannschmidt opened this issue Nov 22, 2020 · 1 comment
Open

introduce scopes identified by types #8060

RonnyPfannschmidt opened this issue Nov 22, 2020 · 1 comment
Labels
type: proposal proposal for a new feature, often to gather opinions or design the API around the new feature

Comments

@RonnyPfannschmidt
Copy link
Member

currently we have scopes as opaque strings, that somewhat relate to python things,
but clearly dont match the types of collection nodes we have

we should introduce a more nuanced mechanism so that we can better handle non-python nodes for
both code checkers and different language plugins (bdd style languages and spec type tests in yaml files come to mind)

@RonnyPfannschmidt RonnyPfannschmidt added the type: proposal proposal for a new feature, often to gather opinions or design the API around the new feature label Nov 22, 2020
@ktbarrett
Copy link

This feature was exactly what I was thinking for introducing node and invocation scopes as proposed in pytest-dev/pytest-xdist#271.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: proposal proposal for a new feature, often to gather opinions or design the API around the new feature
Projects
None yet
Development

No branches or pull requests

2 participants