dflook / python-minifier

Transform Python source code into its most compact representation
MIT License
558 stars 41 forks source link

Make relative imports more compact #19

Closed luk3yx closed 1 year ago

luk3yx commented 3 years ago

Currently, minifying from . import test adds an extra space:

from .  import test
from .b import test

This PR removes whitespace around the .:

from.import test
from.b import test
dflook commented 1 year ago

Thanks @luk3yx, this commit was included in 2.9.0