mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
Commit dc2fcfcc55 seems to have accidentally
changed the ruff quote style to "preserve", instead of keeping it at the
default which is "double".
Put it back to the default and update relevant .py files with this rule.
Signed-off-by: Damien George <damien@micropython.org>
23 lines
403 B
Python
23 lines
403 B
Python
__all__ = ("publicFun2", "PublicClass2")
|
|
|
|
|
|
# Definitions below should always be imported by a star import
|
|
def publicFun2():
|
|
return 2
|
|
|
|
|
|
class PublicClass2:
|
|
def __init__(self):
|
|
self._val = 2
|
|
|
|
|
|
# If __all__ support is enabled, definitions below
|
|
# should not be imported by a star import
|
|
def unlistedFun2():
|
|
return 0
|
|
|
|
|
|
class UnlistedClass2:
|
|
def __init__(self):
|
|
self._val = 0
|