Skip to content

Commit

Permalink
added offset for del
Browse files Browse the repository at this point in the history
  • Loading branch information
wolph committed Sep 1, 2016
1 parent e56cf7a commit 071cfe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion formatter2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from . import main

__package_name__ = 'formatter2'
__version__ = '1.2.1'
__version__ = '1.2.2'
__author__ = 'Rick van Hattem'
__author_email__ = 'Wolph@wol.ph'
__description__ = '''A Python source formatter that uses the tokenize library
Expand Down
1 change: 1 addition & 0 deletions formatter2/offsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ def get_token_offsets():
keywords['import'].post = 1
keywords['for'].post = 1
keywords['while'].post = 1
keywords['del'].post = 1
keywords['if'].post = 1
keywords['if'].pre_collapse = False
# keywords['if'].post_collapse = False
Expand Down

0 comments on commit 071cfe8

Please sign in to comment.