Remove redundant comments
This commit is contained in:
parent
9f7d5e346b
commit
adb96e0807
|
@ -14,7 +14,6 @@ module.exports = class Autopep8 extends Beautifier
|
||||||
}
|
}
|
||||||
|
|
||||||
beautify: (text, language, options) ->
|
beautify: (text, language, options) ->
|
||||||
# console.log('autopep8', options, text, language)
|
|
||||||
@run("autopep8", [
|
@run("autopep8", [
|
||||||
@tempFile("input", text)
|
@tempFile("input", text)
|
||||||
["--max-line-length", "#{options.max_line_length}"] if options.max_line_length?
|
["--max-line-length", "#{options.max_line_length}"] if options.max_line_length?
|
||||||
|
|
|
@ -9,14 +9,11 @@ module.exports = class Yapf extends Beautifier
|
||||||
|
|
||||||
name: "yapf"
|
name: "yapf"
|
||||||
|
|
||||||
# I decide to support no options since yapf is configured using its
|
|
||||||
# own configure file.
|
|
||||||
options: {
|
options: {
|
||||||
Python: false
|
Python: false
|
||||||
}
|
}
|
||||||
|
|
||||||
beautify: (text, language, options) ->
|
beautify: (text, language, options) ->
|
||||||
# console.log('yapf', options, text, language)
|
|
||||||
@run("yapf", [
|
@run("yapf", [
|
||||||
["--style=pep8"]
|
["--style=pep8"]
|
||||||
@tempFile("input", text)
|
@tempFile("input", text)
|
||||||
|
|
Loading…
Reference in New Issue