mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Run black
This commit is contained in:
parent
1dc913c5c1
commit
461ef19a46
5 changed files with 85 additions and 25 deletions
|
@ -1,20 +1,33 @@
|
|||
from .adw_breakpoint import (AdwBreakpointCondition, AdwBreakpointSetter,
|
||||
AdwBreakpointSetters)
|
||||
from .adw_breakpoint import (
|
||||
AdwBreakpointCondition,
|
||||
AdwBreakpointSetter,
|
||||
AdwBreakpointSetters,
|
||||
)
|
||||
from .adw_message_dialog import ExtAdwMessageDialog
|
||||
from .attributes import BaseAttribute
|
||||
from .binding import Binding
|
||||
from .common import *
|
||||
from .contexts import ScopeCtx, ValueTypeCtx
|
||||
from .expression import (CastExpr, ClosureArg, ClosureExpr, ExprBase,
|
||||
Expression, LiteralExpr, LookupOp)
|
||||
from .expression import (
|
||||
CastExpr,
|
||||
ClosureArg,
|
||||
ClosureExpr,
|
||||
ExprBase,
|
||||
Expression,
|
||||
LiteralExpr,
|
||||
LookupOp,
|
||||
)
|
||||
from .gobject_object import Object, ObjectContent
|
||||
from .gobject_property import Property
|
||||
from .gobject_signal import Signal
|
||||
from .gtk_a11y import ExtAccessibility
|
||||
from .gtk_combo_box_text import ExtComboBoxItems
|
||||
from .gtk_file_filter import (Filters, ext_file_filter_mime_types,
|
||||
ext_file_filter_patterns,
|
||||
ext_file_filter_suffixes)
|
||||
from .gtk_file_filter import (
|
||||
Filters,
|
||||
ext_file_filter_mime_types,
|
||||
ext_file_filter_patterns,
|
||||
ext_file_filter_suffixes,
|
||||
)
|
||||
from .gtk_layout import ExtLayout
|
||||
from .gtk_list_item_factory import ExtListItemFactory
|
||||
from .gtk_menu import Menu, MenuAttribute, menu
|
||||
|
@ -27,9 +40,19 @@ from .gtkbuilder_template import Template
|
|||
from .imports import GtkDirective, Import
|
||||
from .types import ClassName
|
||||
from .ui import UI
|
||||
from .values import (Flag, Flags, IdentLiteral, Literal, NumberLiteral,
|
||||
ObjectValue, QuotedLiteral, StringValue, Translated,
|
||||
TypeLiteral, Value)
|
||||
from .values import (
|
||||
Flag,
|
||||
Flags,
|
||||
IdentLiteral,
|
||||
Literal,
|
||||
NumberLiteral,
|
||||
ObjectValue,
|
||||
QuotedLiteral,
|
||||
StringValue,
|
||||
Translated,
|
||||
TypeLiteral,
|
||||
Value,
|
||||
)
|
||||
|
||||
OBJECT_CONTENT_HOOKS.children = [
|
||||
Signal,
|
||||
|
|
|
@ -22,15 +22,39 @@ from .. import decompiler as decompile
|
|||
from .. import gir
|
||||
from ..ast_utils import AstNode, context, docs, validate
|
||||
from ..completions_utils import *
|
||||
from ..decompiler import (DecompileCtx, decompile_translatable, decompiler,
|
||||
escape_quote, truthy)
|
||||
from ..errors import (CodeAction, CompileError, CompileWarning,
|
||||
DeprecatedWarning, MultipleErrors, UpgradeWarning)
|
||||
from ..gir import (BoolType, Enumeration, ExternType, FloatType, GirType,
|
||||
IntType, StringType)
|
||||
from ..lsp_utils import (Completion, CompletionItemKind, DocumentSymbol,
|
||||
LocationLink, SemanticToken, SemanticTokenType,
|
||||
SymbolKind)
|
||||
from ..decompiler import (
|
||||
DecompileCtx,
|
||||
decompile_translatable,
|
||||
decompiler,
|
||||
escape_quote,
|
||||
truthy,
|
||||
)
|
||||
from ..errors import (
|
||||
CodeAction,
|
||||
CompileError,
|
||||
CompileWarning,
|
||||
DeprecatedWarning,
|
||||
MultipleErrors,
|
||||
UpgradeWarning,
|
||||
)
|
||||
from ..gir import (
|
||||
BoolType,
|
||||
Enumeration,
|
||||
ExternType,
|
||||
FloatType,
|
||||
GirType,
|
||||
IntType,
|
||||
StringType,
|
||||
)
|
||||
from ..lsp_utils import (
|
||||
Completion,
|
||||
CompletionItemKind,
|
||||
DocumentSymbol,
|
||||
LocationLink,
|
||||
SemanticToken,
|
||||
SemanticTokenType,
|
||||
SymbolKind,
|
||||
)
|
||||
from ..parse_tree import *
|
||||
|
||||
OBJECT_CONTENT_HOOKS = AnyOf()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue