John Reese 3b2300641a apply import merging for fbcode (11 of 11)
Summary:
Applies new import merging and sorting from µsort v1.0.

When merging imports, µsort will make a best-effort to move associated
comments to match merged elements, but there are known limitations due to
the diynamic nature of Python and developer tooling. These changes should
not produce any dangerous runtime changes, but may require touch-ups to
satisfy linters and other tooling.

Note that µsort uses case-insensitive, lexicographical sorting, which
results in a different ordering compared to isort. This provides a more
consistent sorting order, matching the case-insensitive order used when
sorting import statements by module name, and ensures that "frog", "FROG",
and "Frog" always sort next to each other.

For details on µsort's sorting and merging semantics, see the user guide:
https://usort.readthedocs.io/en/stable/guide.html#sorting

Reviewed By: lisroach

Differential Revision: D36402260

fbshipit-source-id: 7cb52f09b740ccc580e61e6d1787d27381a8ce00
2022-05-15 12:53:03 -07:00
..
2022-02-10 09:39:44 -08:00
2022-01-04 11:43:38 -08:00
2022-01-04 11:43:38 -08:00
2022-05-06 08:31:19 -07:00
2022-03-29 05:09:27 -07:00
2022-01-04 11:43:38 -08:00
2022-01-04 11:43:38 -08:00
2022-03-16 05:42:34 -07:00
2022-02-25 07:53:34 -08:00
2022-01-04 11:43:38 -08:00
2022-01-04 11:43:38 -08:00
2020-01-23 11:53:46 -08:00