[style] # Align closing bracket with visual indentation. ALIGN_CLOSING_BRACKET_WITH_VISUAL_INDENT=True # Allow lambdas to be formatted on more than one line. ALLOW_MULTILINE_LAMBDAS=False # Insert a blank line before a 'def' or 'class' immediately nested # within another 'def' or 'class'. For example: # # class Foo: # # <------ this blank line # def method(): # ... BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF=False # Do not split consecutive brackets. Only relevant when # dedent_closing_brackets is set. For example: # # call_func_that_takes_a_dict( # { # 'key1': 'value1', # 'key2': 'value2', # } # ) # # would reformat to: # # call_func_that_takes_a_dict({ # 'key1': 'value1', # 'key2': 'value2', # }) COALESCE_BRACKETS=False # The column limit. COLUMN_LIMIT=90 # Indent width used for line continuations. CONTINUATION_INDENT_WIDTH=2 # Put closing brackets on a separate line, dedented, if the bracketed # expression can't fit in a single line. Applies to all kinds of brackets, # including function definitions and calls. For example: # # config = { # 'key1': 'value1', # 'key2': 'value2', # } # <--- this bracket is dedented and on a separate line # # time_series = self.remote_client.query_entity_counters( # entity='dev3246.region1', # key='dns.query_latency_tcp', # transform=Transformation.AVERAGE(window=timedelta(seconds=60)), # start_ts=now()-timedelta(days=3), # end_ts=now(), # ) # <--- this bracket is dedented and on a separate line DEDENT_CLOSING_BRACKETS=False # The regex for an i18n comment. The presence of this comment stops # reformatting of that line, because the comments are required to be # next to the string they translate. I18N_COMMENT= # The i18n function call names. The presence of this function stops # reformattting on that line, because the string it has cannot be moved # away from the i18n comment. I18N_FUNCTION_CALL= # Indent the dictionary value if it cannot fit on the same line as the # dictionary key. For example: # # config = { # 'key1': # 'value1', # 'key2': value1 + # value2, # } INDENT_DICTIONARY_VALUE=False # The number of columns to use for indentation. INDENT_WIDTH=2 # Join short lines into one line. E.g., single line 'if' statements. JOIN_MULTIPLE_LINES=True # Use spaces around default or named assigns. SPACES_AROUND_DEFAULT_OR_NAMED_ASSIGN=False # Use spaces around the power operator. SPACES_AROUND_POWER_OPERATOR=False # The number of spaces required before a trailing comment. SPACES_BEFORE_COMMENT=2 # Insert a space between the ending comma and closing bracket of a list, # etc. SPACE_BETWEEN_ENDING_COMMA_AND_CLOSING_BRACKET=True # Split before arguments if the argument list is terminated by a # comma. SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED=False # Set to True to prefer splitting before '&', '|' or '^' rather than # after. SPLIT_BEFORE_BITWISE_OPERATOR=False # If an argument / parameter list is going to be split, then split before # the first argument. SPLIT_BEFORE_FIRST_ARGUMENT=False # Set to True to prefer splitting before 'and' or 'or' rather than # after. SPLIT_BEFORE_LOGICAL_OPERATOR=False # Split named assignments onto individual lines. SPLIT_BEFORE_NAMED_ASSIGNS=True # The penalty for splitting right after the opening bracket. SPLIT_PENALTY_AFTER_OPENING_BRACKET=30 # The penalty for splitting the line after a unary operator. SPLIT_PENALTY_AFTER_UNARY_OPERATOR=10000 # The penalty for splitting right before an if expression. SPLIT_PENALTY_BEFORE_IF_EXPR=0 # The penalty of splitting the line around the '&', '|', and '^' # operators. SPLIT_PENALTY_BITWISE_OPERATOR=300 # The penalty for characters over the column limit. SPLIT_PENALTY_EXCESS_CHARACTER=2600 # The penalty incurred by adding a line split to the unwrapped line. The # more line splits added the higher the penalty. SPLIT_PENALTY_FOR_ADDED_LINE_SPLIT=30 # The penalty of splitting a list of "import as" names. For example: # # from a_very_long_or_indented_module_name_yada_yad import (long_argument_1, # long_argument_2, # long_argument_3) # # would reformat to something like: # # from a_very_long_or_indented_module_name_yada_yad import ( # long_argument_1, long_argument_2, long_argument_3) SPLIT_PENALTY_IMPORT_NAMES=0 # The penalty of splitting the line around the 'and' and 'or' # operators. SPLIT_PENALTY_LOGICAL_OPERATOR=300 # Use the Tab character for indentation. USE_TABS=False