deshaw / pyflyby

A set of productivity tools for Python
https://deshaw.github.io/pyflyby/
Other
353 stars 52 forks source link

Fix format import defaults (DJS#18151) #252

Open suganya-sk opened 1 year ago

suganya-sk commented 1 year ago

Note - I have a few tests failing locally on this but these tests are failing in master as well, so am assuming it's okay to raise a PR here.

dshivashankar1994 commented 1 year ago

Checked a couple of failures. They seem to be failing because of the changes made as part of this PR

>       assert str(_reformat_helper(origin, ["import numpy as np"])) == expected
E       TypeError: _reformat_helper() missing 1 required positional argument: 'use_black'