"""
     run lupdate  pyside2379.py
     5 or more space indentation and a ) or ] or }
"""

from __future__ import (barry_as_FLUFL,
                        annotations,  # 5 or more space indentation inside parentheses
)

from typing import Literal

from PySide6.QtCore import QObject

egg = ['spam',
       'egg']  # 5 or more space indentation inside brackets
spam = {'spam',
        'egg'}  # 5 or more space indentation inside braces

def bar(spam: Literal[')'],
        egg: Literal['(']):  # 5 or more space indentation inside parentheses
    pass

class Spam(QObject):
    """
        this line does NOT cause any trouble :-)
    """
    class Egg:
        pass

    def spam(self) -> None:
        self.tr('NOT in the Egg class!')

