bowler/__init__.py (29 lines of code) (raw):

#!/usr/bin/env python3 # # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """Safe code refactoring for modern Python projects.""" __author__ = "John Reese, Facebook" try: from .version import version as __version__ except ImportError: __version__ = "dev" from .imr import FunctionArgument, FunctionSpec from .query import Query from .tool import BowlerTool from .types import ( ARG_ELEMS, ARG_END, ARG_LISTS, DROP, LN, STARS, START, SYMBOL, TOKEN, BowlerException, Callback, Capture, Filename, Filter, Fixers, Hunk, IMRError, Processor, Stringish, )