Skip to content

indent block comments but remove comment-indentation #969

Open
@spaceone

Description

@spaceone
[style]
based_on_style=pep8
use_tabs=True

transforms:

class Foo(object):
»   def __init__(self):
»   #»  pass
»   »   pass

into:

class Foo(object):
»   def __init__(self):
»   »   #»  pass
»   »   pass

I think (wrong indented) block comments should be indented, but the indentation in the comment should be removed.
So that we get:

class Foo(object):
»   def __init__(self):
»   »   # pass
»   »   pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions