mirror of
https://github.com/astral-sh/ruff.git
synced 2026-11-21 20:29:20 +08:00
Use the vendored runtime and generator instead of the registry dependency, providing Unicode 17 names with Python-compatible matching. Update workspace dependencies and tool configuration, add parser regressions, and document how to update Unicode data when supporting a new Python version.
24 lines
353 B
Python
24 lines
353 B
Python
'Hello World'
|
|
"😎"
|
|
'Foo' 'Bar'
|
|
(
|
|
'A'
|
|
'B'
|
|
'C'
|
|
)
|
|
'''Olá, Mundo!'''
|
|
"""ABCDE"""
|
|
(
|
|
'''aB'''
|
|
'''cD'''
|
|
)
|
|
b'hello world'
|
|
b'bytes' b'concatenated'
|
|
|
|
'\N{latin small letter a}'
|
|
'\N{new line}' '\N{byte order mark}'
|
|
'\N{TROMBONE}'
|
|
'\N{hangul syllable ga}'
|
|
'\N{cjk unified ideograph-4e00}'
|
|
'\N{HANGUL JUNGSEONG O-E}' '\N{HANGUL JUNGSEONG OE}'
|