Skip to content
This repository has been archived by the owner. It is now read-only.

Wrong wrap of raise expressions when line is too long #65

Open
patrick91 opened this issue Mar 3, 2018 · 0 comments
Open

Wrong wrap of raise expressions when line is too long #65

patrick91 opened this issue Mar 3, 2018 · 0 comments
Labels
bug

Comments

@patrick91
Copy link
Member

@patrick91 patrick91 commented Mar 3, 2018

this:

raise NotImplementedError(
    'The SimpleListFilter.lookups() method must be overridden to '
    'return a list of tuples (value, verbose value).'
)

gets converted to

raise 
NotImplementedError('The SimpleListFilter.lookups() method must be overridden to '
    'return a list of tuples (value, verbose value).'
)
@patrick91 patrick91 added the bug label Mar 3, 2018
patrick91 added a commit that referenced this issue Mar 3, 2018
FuegoFro added a commit that referenced this issue May 11, 2018
* Add broken tests for #65

* Add long raise test

* Fix typo

* Improve raise printing

* Add another test for raise

* Use groupConcat and indentConcat
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.