mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Revert "#2132 Change (buffer, lines) fixer functions to (buffer, done, lines)"
This reverts commit f1ed654ca5.
This commit is contained in:
@@ -16,7 +16,7 @@ Execute(Long lines with basic function calls should be broken up correctly):
|
||||
\ ' bar,',
|
||||
\ '))',
|
||||
\ ],
|
||||
\ ale#fixers#generic_python#BreakUpLongLines(bufnr(''), v:null, [
|
||||
\ ale#fixers#generic_python#BreakUpLongLines(bufnr(''), [
|
||||
\ 'def foo():',
|
||||
\ ' some_variable = this_is_a_longer_function(first_argument, second_argument, third_with_function_call(foo, bar))',
|
||||
\ ])
|
||||
@@ -33,7 +33,7 @@ Execute(Longer lines should be permitted if a configuration file allows it):
|
||||
\ ' a_third_long_word,',
|
||||
\ ')'
|
||||
\ ],
|
||||
\ ale#fixers#generic_python#BreakUpLongLines(bufnr(''), v:null, [
|
||||
\ ale#fixers#generic_python#BreakUpLongLines(bufnr(''), [
|
||||
\ 'x = this_line_is_between_79_and_90_characters(first, second, third, fourth, fifth)',
|
||||
\ 'y = this_line_is_longer_than_90_characters(much_longer_word, another_longer_word, a_third_long_word)',
|
||||
\ ])
|
||||
|
||||
@@ -16,13 +16,13 @@ Execute(Should delete all whitespace at the end of different lines):
|
||||
\ ' bar,',
|
||||
\ '))',
|
||||
\ ],
|
||||
\ ale#fixers#generic#TrimWhitespace(bufnr(''), v:null, [
|
||||
\ 'def foo():',
|
||||
\ ' some_variable = this_is_a_longer_function(',
|
||||
\ 'first_argument,',
|
||||
\ ' second_argument,',
|
||||
\ ' third_with_function_call(',
|
||||
\ 'foo,',
|
||||
\ ' bar,',
|
||||
\ '))',
|
||||
\ ale#fixers#generic#TrimWhitespace(bufnr(''), [
|
||||
\ 'def foo():',
|
||||
\ ' some_variable = this_is_a_longer_function(',
|
||||
\ 'first_argument,',
|
||||
\ ' second_argument,',
|
||||
\ ' third_with_function_call(',
|
||||
\ 'foo,',
|
||||
\ ' bar,',
|
||||
\ '))',
|
||||
\ ])
|
||||
|
||||
Reference in New Issue
Block a user