Jun-13-2020, 06:09 PM
Running:
Sublime Text 3.2.2
Python 3.8.2
Anaconda's autoformat feature reindents the code below as follows:
What adjustments do the Anaconda linting settings need to get the reindentation to format code properly?
Sublime Text 3.2.2
Python 3.8.2
Anaconda's autoformat feature reindents the code below as follows:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
counter = 0 def print_this(): print ( "Hello World." ) return def main(counter): if counter < 10 : print_this() counter + = 1 main(counter) else : print ( "All done." ) return main(counter) |