Skip to content

Conversation

@suganya-sk
Copy link

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.

Suganya Sundaravadivelu added 3 commits June 6, 2023 05:52
The default formatting output of reformat-imports and jupyterlab-pyflyby
have been modified to match that of tidy-imports.

The new expected values of unittests were generated using tidy-imports,
to ensure this match.

Ref: DJS#18151
Reviewer: dhamodha
@dshivashankar1994
Copy link
Collaborator

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'

@dshivashankar1994 dshivashankar1994 changed the title Fix format import defaults Fix format import defaults (DJS#18151) Aug 11, 2023
@dshivashankar1994 dshivashankar1994 self-requested a review August 11, 2023 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants