def push_current_future_group(groups, current_group, imports):
    if current_group:
        imports[:] = list(set(current_group) - set(imports))
        current_group = ['from __future__ import ' + i for i in current_group]
        current_group.sort()
        groups.append(current_group)
dataset/ETHPy150Open bloomberg/phabricator-tools/meta/autofix/fiximports.py/push_current_future_group/swapped operands of `-`