Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Increase indent if line ends with an open bracket #121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

patrys
Copy link

@patrys patrys commented Dec 10, 2015

Re #22

@kbrose
Copy link
Contributor

kbrose commented Mar 25, 2016

@patrys have you seen https://atom.io/packages/python-indent (disclosure, I've worked on it). It handles hanging indents (the PR you've opened here) along with other line continuations.

def f(param1, param2,
      param3, param4):
    x = [1, 2, 3,
         4, 5, 6]

@patrys
Copy link
Author

patrys commented Mar 25, 2016

Yes, I've used it for a while but unfortunately it's not perfect either.

@kbrose
Copy link
Contributor

kbrose commented Mar 25, 2016

Have you used the latest version? It underwent a complete overhaul about a month ago.

If you are using a recent version, would you mind filing some issues showing where unexpected behavior is cropping up? I want the package to be as robust as possible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants