Skip to content

Commit 42df0de

Browse files
authored
Remove Redundant YAPF configuration (#924)
## What changes are proposed in this pull request? This PR cleans up the `setup.cfg` file by removing unnecessary YAPF formatting configuration. Since the project is now using Black for formatting, these YAPF-specific configurations were redundant and potentially confusing. ## How is this tested? Existing Test NO_CHANGELOG=true
1 parent 3289fc0 commit 42df0de

File tree

1 file changed

+1
-56
lines changed

1 file changed

+1
-56
lines changed

setup.cfg

Lines changed: 1 addition & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -15,59 +15,4 @@ max-line-length = 120
1515

1616
[black]
1717
line-length = 120
18-
target-version = ['py37', 'py38', 'py39', 'py310', 'py311','py312','py313']
19-
20-
COLUMN_LIMIT = 110
21-
INDENT_WIDTH = 4
22-
CONTINUATION_INDENT_WIDTH = 4
23-
ALIGN_CLOSING_BRACKET_WITH_VISUAL_INDENT = true
24-
ALLOW_SPLIT_BEFORE_DEFAULT_OR_NAMED_ASSIGNS = false
25-
COALESCE_BRACKETS = true
26-
DEDENT_CLOSING_BRACKETS = false
27-
INDENT_CLOSING_BRACKETS = false
28-
JOIN_MULTIPLE_LINES = true
29-
SPACES_BEFORE_COMMENT = 1
30-
ALLOW_MULTILINE_LAMBDAS = true
31-
DISABLE_ENDING_COMMA_HEURISTIC = true
32-
33-
BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF = true
34-
BLANK_LINES_AROUND_TOP_LEVEL_DEFINITION = 2
35-
BLANK_LINES_BETWEEN_TOP_LEVEL_IMPORTS_AND_VARIABLES = 1
36-
EACH_DICT_ENTRY_ON_SEPARATE_LINE = true
37-
FORCE_MULTILINE_DICT = false
38-
INDENT_DICTIONARY_VALUE = false
39-
INDENT_BLANK_LINES = false
40-
41-
SPACE_BETWEEN_ENDING_COMMA_AND_CLOSING_BRACKET = true
42-
SPACE_INSIDE_BRACKETS = false
43-
SPACES_AROUND_POWER_OPERATOR = false
44-
SPACES_AROUND_DEFAULT_OR_NAMED_ASSIGN = false
45-
SPACES_AROUND_DICT_DELIMITERS = false
46-
SPACES_AROUND_LIST_DELIMITERS = false
47-
SPACES_AROUND_SUBSCRIPT_COLON = false
48-
SPACES_AROUND_TUPLE_DELIMITERS = false
49-
50-
SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED = false
51-
SPLIT_ALL_COMMA_SEPARATED_VALUES = false
52-
SPLIT_ALL_TOP_LEVEL_COMMA_SEPARATED_VALUES = false
53-
SPLIT_BEFORE_ARITHMETIC_OPERATOR = false
54-
SPLIT_BEFORE_BITWISE_OPERATOR = true
55-
SPLIT_BEFORE_CLOSING_BRACKET = true
56-
SPLIT_BEFORE_DICT_SET_GENERATOR = true
57-
SPLIT_BEFORE_DOT = false
58-
SPLIT_BEFORE_EXPRESSION_AFTER_OPENING_PAREN = false
59-
SPLIT_BEFORE_FIRST_ARGUMENT = false
60-
SPLIT_BEFORE_LOGICAL_OPERATOR = true
61-
SPLIT_BEFORE_NAMED_ASSIGNS = true
62-
SPLIT_COMPLEX_COMPREHENSION = false
63-
64-
SPLIT_PENALTY_AFTER_OPENING_BRACKET = 300
65-
SPLIT_PENALTY_AFTER_UNARY_OPERATOR = 10000
66-
SPLIT_PENALTY_ARITHMETIC_OPERATOR = 300
67-
SPLIT_PENALTY_BEFORE_IF_EXPR = 0
68-
SPLIT_PENALTY_BITWISE_OPERATOR = 300
69-
SPLIT_PENALTY_COMPREHENSION = 80
70-
SPLIT_PENALTY_EXCESS_CHARACTER = 7000
71-
SPLIT_PENALTY_FOR_ADDED_LINE_SPLIT = 30
72-
SPLIT_PENALTY_IMPORT_NAMES = 0
73-
SPLIT_PENALTY_LOGICAL_OPERATOR = 300
18+
target-version = ['py37', 'py38', 'py39', 'py310', 'py311','py312','py313']

0 commit comments

Comments
 (0)