X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/6310a405f6663948f7e0b9411cb54e5db2b712a6..edf66baa21d337ae069be3871e95f88b68a3ffcf:/src/black/__init__.py diff --git a/src/black/__init__.py b/src/black/__init__.py index 6fc91d2..188a4f7 100644 --- a/src/black/__init__.py +++ b/src/black/__init__.py @@ -63,14 +63,9 @@ from black.handle_ipynb_magics import ( ) from black.linegen import LN, LineGenerator, transform_line from black.lines import EmptyLineTracker, LinesBlock -from black.mode import ( - FUTURE_FLAG_TO_FEATURE, - VERSION_TO_FEATURES, - Feature, - Mode, - TargetVersion, - supports_feature, -) +from black.mode import FUTURE_FLAG_TO_FEATURE, VERSION_TO_FEATURES, Feature +from black.mode import Mode as Mode # re-exported +from black.mode import TargetVersion, supports_feature from black.nodes import ( STARS, is_number_token,