Operating system: Ubuntu 18.04
Python version: 3.6.3
Black version: master
Thank you @ambv for this library. When trying to run this on a codebase that uses tabs, indentation for comments past depth 0 is changed incorrectly after a dedent. Sample input (NB tabs):
if 1:
if 2:
pass
# This comment should be indented the same as the next line
pass
Black reformats this to:
if 1:
if 2:
pass
# This comment should be indented the same as the next line
pass
Note that this only happens when the input file uses tabs.
Operating system: Ubuntu 18.04
Python version: 3.6.3
Black version: master
Thank you @ambv for this library. When trying to run this on a codebase that uses tabs, indentation for comments past depth 0 is changed incorrectly after a dedent. Sample input (NB tabs):
Black reformats this to:
Note that this only happens when the input file uses tabs.