ruff
[red-knot] Detect semantic syntax errors
#17463
Merged

[red-knot] Detect semantic syntax errors #17463

ntBre merged 29 commits into main from brent/semantic-errors-red-knot
ntBre
ntBre ntBre added ty
ntBre
ntBre commented on 2025-04-18
github-actions
ntBre
ntBre [red-knot] Detect semantic syntax errors
1b1ff1f6
ntBre add SemanticIndexBuilder::seen_module_docstring_boundary
74353f05
ntBre implement in_async_context and in_generator_scope
b09fcee3
ntBre add failing mdtest
f37022a9
ntBre emit diagnostics and pass mdtest
46b022ee
ntBre pass existing mdtests
2764c451
ntBre add mdtests covering all context methods
507b737e
ntBre upcast explicitly for msrv tests
60acba6b
ntBre ntBre force pushed from bf6cc0cb to 60acba6b 1 year ago
github-actions
ntBre ntBre marked this pull request as ready for review 1 year ago
ntBre ntBre requested a review from carljm carljm 1 year ago
ntBre ntBre requested a review from AlexWaygood AlexWaygood 1 year ago
ntBre ntBre requested a review from sharkdp sharkdp 1 year ago
ntBre ntBre requested a review from dcreager dcreager 1 year ago
ntBre ntBre requested a review from MichaReiser MichaReiser 1 year ago
ntBre ntBre requested a review from dhruvmanila dhruvmanila 1 year ago
AlexWaygood
AlexWaygood commented on 2025-04-18
ntBre avoid unrelated errors in invalid.md
63fd71d3
ntBre avoid unrelated errors in comprehensions/basic.md
773e7a1c
AlexWaygood
AlexWaygood approved these changes on 2025-04-18
ntBre remove backticks on async comprehension and test
c916bc30
ntBre replace current_scope_is_global_scope with context method
82f848c3
ntBre update notebook check
f6a4213f
ntBre remove now-unused is_module method
bd1d9b1f
dhruvmanila
dhruvmanila commented on 2025-04-21
dhruvmanila
dhruvmanila commented on 2025-04-21
dhruvmanila
dhruvmanila commented on 2025-04-21
dhruvmanila
dhruvmanila commented on 2025-04-21
dhruvmanila
dhruvmanila commented on 2025-04-21
dhruvmanila
dhruvmanila commented on 2025-04-21
dhruvmanila
dhruvmanila approved these changes on 2025-04-21
ntBre seen_docstring_boundary -> seen_module_docstring_boundary
4b2fac9d
ntBre use expect_function instead of if-let
bfbc79f5
ntBre
MichaReiser
MichaReiser approved these changes on 2025-04-22
ntBre skip checking a file if it's not open
add4f6b0
ntBre cache SemanticIndexBuilder::python_version
9ac43a98
ntBre add TypeCheckDiagnostic::extend_diagnostics
7db66855
ntBre remove SemanticSyntaxContext::seen_module_docstring_boundary
3d11ef72
codspeed-hq
ntBre cache is_file_open call
5e172cc8
ntBre Merge branch 'main' into brent/semantic-errors-red-knot
af437576
ntBre
ntBre revert is_file_open check entirely
7a1e1ab9
ntBre
ntBre restore is_file_open check, but only for pushing errors
b32372c7
MichaReiser
MichaReiser commented on 2025-04-22
MichaReiser
MichaReiser commented on 2025-04-22
ntBre move semantic checker fields to their own group
02dfc232
ntBre make semantic_checker optional
e32c188e
ntBre restore SemanticSyntaxContext::source method and use OnceCell
ebccf416
ntBre delete is_file_open check in favor of Option approach
57866a09
carljm carljm removed review request from carljm carljm 1 year ago
ntBre Revert "make semantic_checker optional"
931fcf12
ntBre ntBre merged e7f38fe7 into main 1 year ago
ntBre ntBre deleted the brent/semantic-errors-red-knot branch 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone