Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
RustPython
ruff
Repository navigation
Code
Pull requests
2
(2)
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
rustpython-0.17.2
Breadcrumbs
ruff
/
crates
/
ruff_python_parser
/
src
/
snapshots
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
rustpython-0.17.2
Breadcrumbs
ruff
/
crates
/
ruff_python_parser
/
src
/
snapshots
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
ruff_python_parser__lexer__tests__assignment.snap
ruff_python_parser__lexer__tests__assignment.snap
ruff_python_parser__lexer__tests__backslash_continuation_at_root.snap
ruff_python_parser__lexer__tests__backslash_continuation_at_root.snap
ruff_python_parser__lexer__tests__backslash_continuation_indentation.snap
ruff_python_parser__lexer__tests__backslash_continuation_indentation.snap
ruff_python_parser__lexer__tests__backslash_continuation_mismatch_indentation.snap
ruff_python_parser__lexer__tests__backslash_continuation_mismatch_indentation.snap
ruff_python_parser__lexer__tests__bom.snap
ruff_python_parser__lexer__tests__bom.snap
ruff_python_parser__lexer__tests__bom_with_offset.snap
ruff_python_parser__lexer__tests__bom_with_offset.snap
ruff_python_parser__lexer__tests__bom_with_offset_edge.snap
ruff_python_parser__lexer__tests__bom_with_offset_edge.snap
ruff_python_parser__lexer__tests__comment_until_mac_eol.snap
ruff_python_parser__lexer__tests__comment_until_mac_eol.snap
ruff_python_parser__lexer__tests__comment_until_unix_eol.snap
ruff_python_parser__lexer__tests__comment_until_unix_eol.snap
ruff_python_parser__lexer__tests__comment_until_windows_eol.snap
ruff_python_parser__lexer__tests__comment_until_windows_eol.snap
ruff_python_parser__lexer__tests__dedent_after_whitespace.snap
ruff_python_parser__lexer__tests__dedent_after_whitespace.snap
ruff_python_parser__lexer__tests__double_dedent_with_mac_eol.snap
ruff_python_parser__lexer__tests__double_dedent_with_mac_eol.snap
ruff_python_parser__lexer__tests__double_dedent_with_tabs_mac_eol.snap
ruff_python_parser__lexer__tests__double_dedent_with_tabs_mac_eol.snap
ruff_python_parser__lexer__tests__double_dedent_with_tabs_unix_eol.snap
ruff_python_parser__lexer__tests__double_dedent_with_tabs_unix_eol.snap
ruff_python_parser__lexer__tests__double_dedent_with_tabs_windows_eol.snap
ruff_python_parser__lexer__tests__double_dedent_with_tabs_windows_eol.snap
ruff_python_parser__lexer__tests__double_dedent_with_unix_eol.snap
ruff_python_parser__lexer__tests__double_dedent_with_unix_eol.snap
ruff_python_parser__lexer__tests__double_dedent_with_windows_eol.snap
ruff_python_parser__lexer__tests__double_dedent_with_windows_eol.snap
ruff_python_parser__lexer__tests__emoji_identifier.snap
ruff_python_parser__lexer__tests__emoji_identifier.snap
ruff_python_parser__lexer__tests__empty_fstrings.snap
ruff_python_parser__lexer__tests__empty_fstrings.snap
ruff_python_parser__lexer__tests__empty_ipython_escape_command.snap
ruff_python_parser__lexer__tests__empty_ipython_escape_command.snap
ruff_python_parser__lexer__tests__empty_tstrings.snap
ruff_python_parser__lexer__tests__empty_tstrings.snap
ruff_python_parser__lexer__tests__escape_unicode_name.snap
ruff_python_parser__lexer__tests__escape_unicode_name.snap
ruff_python_parser__lexer__tests__fstring.snap
ruff_python_parser__lexer__tests__fstring.snap
ruff_python_parser__lexer__tests__fstring_comments.snap
ruff_python_parser__lexer__tests__fstring_comments.snap
ruff_python_parser__lexer__tests__fstring_conversion.snap
ruff_python_parser__lexer__tests__fstring_conversion.snap
ruff_python_parser__lexer__tests__fstring_escape.snap
ruff_python_parser__lexer__tests__fstring_escape.snap
ruff_python_parser__lexer__tests__fstring_escape_braces.snap
ruff_python_parser__lexer__tests__fstring_escape_braces.snap
ruff_python_parser__lexer__tests__fstring_escape_raw.snap
ruff_python_parser__lexer__tests__fstring_escape_raw.snap
ruff_python_parser__lexer__tests__fstring_expression_multiline.snap
ruff_python_parser__lexer__tests__fstring_expression_multiline.snap
ruff_python_parser__lexer__tests__fstring_multiline.snap
ruff_python_parser__lexer__tests__fstring_multiline.snap
ruff_python_parser__lexer__tests__fstring_named_unicode.snap
ruff_python_parser__lexer__tests__fstring_named_unicode.snap
ruff_python_parser__lexer__tests__fstring_named_unicode_raw.snap
ruff_python_parser__lexer__tests__fstring_named_unicode_raw.snap
ruff_python_parser__lexer__tests__fstring_nested.snap
ruff_python_parser__lexer__tests__fstring_nested.snap
ruff_python_parser__lexer__tests__fstring_newline_format_spec.snap
ruff_python_parser__lexer__tests__fstring_newline_format_spec.snap
ruff_python_parser__lexer__tests__fstring_parentheses.snap
ruff_python_parser__lexer__tests__fstring_parentheses.snap
ruff_python_parser__lexer__tests__fstring_prefix.snap
ruff_python_parser__lexer__tests__fstring_prefix.snap
ruff_python_parser__lexer__tests__fstring_single_quote_escape_mac_eol.snap
ruff_python_parser__lexer__tests__fstring_single_quote_escape_mac_eol.snap
ruff_python_parser__lexer__tests__fstring_single_quote_escape_unix_eol.snap
ruff_python_parser__lexer__tests__fstring_single_quote_escape_unix_eol.snap
ruff_python_parser__lexer__tests__fstring_single_quote_escape_windows_eol.snap
ruff_python_parser__lexer__tests__fstring_single_quote_escape_windows_eol.snap
ruff_python_parser__lexer__tests__fstring_with_format_spec.snap
ruff_python_parser__lexer__tests__fstring_with_format_spec.snap
ruff_python_parser__lexer__tests__fstring_with_ipy_escape_command.snap
ruff_python_parser__lexer__tests__fstring_with_ipy_escape_command.snap
ruff_python_parser__lexer__tests__fstring_with_lambda_expression.snap
ruff_python_parser__lexer__tests__fstring_with_lambda_expression.snap
ruff_python_parser__lexer__tests__fstring_with_multiline_format_spec.snap
ruff_python_parser__lexer__tests__fstring_with_multiline_format_spec.snap
ruff_python_parser__lexer__tests__fstring_with_named_expression.snap
ruff_python_parser__lexer__tests__fstring_with_named_expression.snap
ruff_python_parser__lexer__tests__fstring_with_nul_char.snap
ruff_python_parser__lexer__tests__fstring_with_nul_char.snap
ruff_python_parser__lexer__tests__indentation_with_mac_eol.snap
ruff_python_parser__lexer__tests__indentation_with_mac_eol.snap
ruff_python_parser__lexer__tests__indentation_with_unix_eol.snap
ruff_python_parser__lexer__tests__indentation_with_unix_eol.snap
ruff_python_parser__lexer__tests__indentation_with_windows_eol.snap
ruff_python_parser__lexer__tests__indentation_with_windows_eol.snap
ruff_python_parser__lexer__tests__invalid_leading_zero_big.snap
ruff_python_parser__lexer__tests__invalid_leading_zero_big.snap
ruff_python_parser__lexer__tests__invalid_leading_zero_small.snap
ruff_python_parser__lexer__tests__invalid_leading_zero_small.snap
ruff_python_parser__lexer__tests__ipython_escape_command.snap
ruff_python_parser__lexer__tests__ipython_escape_command.snap
ruff_python_parser__lexer__tests__ipython_escape_command_assignment.snap
ruff_python_parser__lexer__tests__ipython_escape_command_assignment.snap
ruff_python_parser__lexer__tests__ipython_escape_command_indentation.snap
ruff_python_parser__lexer__tests__ipython_escape_command_indentation.snap
ruff_python_parser__lexer__tests__ipython_escape_command_line_continuation_mac_eol.snap
ruff_python_parser__lexer__tests__ipython_escape_command_line_continuation_mac_eol.snap
ruff_python_parser__lexer__tests__ipython_escape_command_line_continuation_unix_eol.snap
ruff_python_parser__lexer__tests__ipython_escape_command_line_continuation_unix_eol.snap
ruff_python_parser__lexer__tests__ipython_escape_command_line_continuation_windows_eol.snap
ruff_python_parser__lexer__tests__ipython_escape_command_line_continuation_windows_eol.snap
ruff_python_parser__lexer__tests__ipython_escape_command_line_continuation_with_mac_eol_and_eof.snap
ruff_python_parser__lexer__tests__ipython_escape_command_line_continuation_with_mac_eol_and_eof.snap
ruff_python_parser__lexer__tests__ipython_escape_command_line_continuation_with_unix_eol_and_eof.snap
ruff_python_parser__lexer__tests__ipython_escape_command_line_continuation_with_unix_eol_and_eof.snap
ruff_python_parser__lexer__tests__ipython_escape_command_line_continuation_with_windows_eol_and_eof.snap
ruff_python_parser__lexer__tests__ipython_escape_command_line_continuation_with_windows_eol_and_eof.snap
ruff_python_parser__lexer__tests__ipython_help_end_escape_command.snap
ruff_python_parser__lexer__tests__ipython_help_end_escape_command.snap
ruff_python_parser__lexer__tests__line_comment_empty.snap
ruff_python_parser__lexer__tests__line_comment_empty.snap
ruff_python_parser__lexer__tests__line_comment_long.snap
ruff_python_parser__lexer__tests__line_comment_long.snap
ruff_python_parser__lexer__tests__line_comment_single_whitespace.snap
ruff_python_parser__lexer__tests__line_comment_single_whitespace.snap
ruff_python_parser__lexer__tests__line_comment_whitespace.snap
ruff_python_parser__lexer__tests__line_comment_whitespace.snap
ruff_python_parser__lexer__tests__line_continuation_at_eof_after_newline_mac_eol.snap
ruff_python_parser__lexer__tests__line_continuation_at_eof_after_newline_mac_eol.snap
ruff_python_parser__lexer__tests__line_continuation_at_eof_after_newline_unix_eol.snap
ruff_python_parser__lexer__tests__line_continuation_at_eof_after_newline_unix_eol.snap
ruff_python_parser__lexer__tests__line_continuation_at_eof_after_newline_windows_eol.snap
ruff_python_parser__lexer__tests__line_continuation_at_eof_after_newline_windows_eol.snap
ruff_python_parser__lexer__tests__line_continuation_at_eof_mac_eol.snap
ruff_python_parser__lexer__tests__line_continuation_at_eof_mac_eol.snap
ruff_python_parser__lexer__tests__line_continuation_at_eof_unix_eol.snap
ruff_python_parser__lexer__tests__line_continuation_at_eof_unix_eol.snap
ruff_python_parser__lexer__tests__line_continuation_at_eof_windows_eol.snap
ruff_python_parser__lexer__tests__line_continuation_at_eof_windows_eol.snap
ruff_python_parser__lexer__tests__logical_newline_line_comment.snap
ruff_python_parser__lexer__tests__logical_newline_line_comment.snap
ruff_python_parser__lexer__tests__match_softkeyword_in_notebook.snap
ruff_python_parser__lexer__tests__match_softkeyword_in_notebook.snap
ruff_python_parser__lexer__tests__multiple_backslash_continuation.snap
ruff_python_parser__lexer__tests__multiple_backslash_continuation.snap
ruff_python_parser__lexer__tests__nested_t_and_fstring.snap
ruff_python_parser__lexer__tests__nested_t_and_fstring.snap
ruff_python_parser__lexer__tests__newline_in_brackets_mac_eol.snap
ruff_python_parser__lexer__tests__newline_in_brackets_mac_eol.snap
ruff_python_parser__lexer__tests__newline_in_brackets_unix_eol.snap
ruff_python_parser__lexer__tests__newline_in_brackets_unix_eol.snap
ruff_python_parser__lexer__tests__newline_in_brackets_windows_eol.snap
ruff_python_parser__lexer__tests__newline_in_brackets_windows_eol.snap
ruff_python_parser__lexer__tests__non_logical_newline_in_string_continuation.snap
ruff_python_parser__lexer__tests__non_logical_newline_in_string_continuation.snap
ruff_python_parser__lexer__tests__numbers.snap
ruff_python_parser__lexer__tests__numbers.snap
ruff_python_parser__lexer__tests__operators.snap
ruff_python_parser__lexer__tests__operators.snap
ruff_python_parser__lexer__tests__string.snap
ruff_python_parser__lexer__tests__string.snap
ruff_python_parser__lexer__tests__string_continuation_with_mac_eol.snap
ruff_python_parser__lexer__tests__string_continuation_with_mac_eol.snap
ruff_python_parser__lexer__tests__string_continuation_with_unix_eol.snap
ruff_python_parser__lexer__tests__string_continuation_with_unix_eol.snap
ruff_python_parser__lexer__tests__string_continuation_with_windows_eol.snap
ruff_python_parser__lexer__tests__string_continuation_with_windows_eol.snap
ruff_python_parser__lexer__tests__tet_too_low_dedent.snap
ruff_python_parser__lexer__tests__tet_too_low_dedent.snap
ruff_python_parser__lexer__tests__triple_quoted_mac_eol.snap
ruff_python_parser__lexer__tests__triple_quoted_mac_eol.snap
ruff_python_parser__lexer__tests__triple_quoted_unix_eol.snap
ruff_python_parser__lexer__tests__triple_quoted_unix_eol.snap
ruff_python_parser__lexer__tests__triple_quoted_windows_eol.snap
ruff_python_parser__lexer__tests__triple_quoted_windows_eol.snap
ruff_python_parser__lexer__tests__tstring.snap
ruff_python_parser__lexer__tests__tstring.snap
ruff_python_parser__lexer__tests__tstring_comments.snap
ruff_python_parser__lexer__tests__tstring_comments.snap
ruff_python_parser__lexer__tests__tstring_conversion.snap
ruff_python_parser__lexer__tests__tstring_conversion.snap
ruff_python_parser__lexer__tests__tstring_escape.snap
ruff_python_parser__lexer__tests__tstring_escape.snap
ruff_python_parser__lexer__tests__tstring_escape_braces.snap
ruff_python_parser__lexer__tests__tstring_escape_braces.snap
ruff_python_parser__lexer__tests__tstring_escape_raw.snap
ruff_python_parser__lexer__tests__tstring_escape_raw.snap
ruff_python_parser__lexer__tests__tstring_expression_multiline.snap
ruff_python_parser__lexer__tests__tstring_expression_multiline.snap
ruff_python_parser__lexer__tests__tstring_multiline.snap
ruff_python_parser__lexer__tests__tstring_multiline.snap
ruff_python_parser__lexer__tests__tstring_named_unicode.snap
ruff_python_parser__lexer__tests__tstring_named_unicode.snap
ruff_python_parser__lexer__tests__tstring_named_unicode_raw.snap
ruff_python_parser__lexer__tests__tstring_named_unicode_raw.snap
ruff_python_parser__lexer__tests__tstring_nested.snap
ruff_python_parser__lexer__tests__tstring_nested.snap
ruff_python_parser__lexer__tests__tstring_newline_format_spec.snap
ruff_python_parser__lexer__tests__tstring_newline_format_spec.snap
View all files
You can’t perform that action at this time.