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

Add tests for simple target in annotated assign stmt #10897

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

dhruvmanila
Copy link
Member

simple is a boolean integer set to True for a Name node in target that do not appear in between parenthesis and are hence pure names and not expressions.

Reference: https://docs.python.org/3/library/ast.html#ast.AnnAssign

@dhruvmanila dhruvmanila added bug Something isn't working parser Related to the parser fuzzer Surfaced via fuzzing. labels Apr 12, 2024
@dhruvmanila dhruvmanila merged commit 27bb09c into dhruv/parser Apr 12, 2024
5 checks passed
@dhruvmanila dhruvmanila deleted the dhruv/ann-assign-simple-target-test branch April 12, 2024 06:28
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

dhruvmanila added a commit that referenced this pull request Apr 15, 2024
> `simple` is a boolean integer set to `True` for a
[Name](https://docs.python.org/3/library/ast.html#ast.Name) node in
`target` that do not appear in between parenthesis and are hence pure
names and not expressions.

Reference: https://docs.python.org/3/library/ast.html#ast.AnnAssign
dhruvmanila added a commit that referenced this pull request Apr 16, 2024
> `simple` is a boolean integer set to `True` for a
[Name](https://docs.python.org/3/library/ast.html#ast.Name) node in
`target` that do not appear in between parenthesis and are hence pure
names and not expressions.

Reference: https://docs.python.org/3/library/ast.html#ast.AnnAssign
dhruvmanila added a commit that referenced this pull request Apr 16, 2024
> `simple` is a boolean integer set to `True` for a
[Name](https://docs.python.org/3/library/ast.html#ast.Name) node in
`target` that do not appear in between parenthesis and are hence pure
names and not expressions.

Reference: https://docs.python.org/3/library/ast.html#ast.AnnAssign
dhruvmanila added a commit that referenced this pull request Apr 17, 2024
> `simple` is a boolean integer set to `True` for a
[Name](https://docs.python.org/3/library/ast.html#ast.Name) node in
`target` that do not appear in between parenthesis and are hence pure
names and not expressions.

Reference: https://docs.python.org/3/library/ast.html#ast.AnnAssign
dhruvmanila added a commit that referenced this pull request Apr 18, 2024
> `simple` is a boolean integer set to `True` for a
[Name](https://docs.python.org/3/library/ast.html#ast.Name) node in
`target` that do not appear in between parenthesis and are hence pure
names and not expressions.

Reference: https://docs.python.org/3/library/ast.html#ast.AnnAssign
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fuzzer Surfaced via fuzzing. parser Related to the parser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant