explicit reexports
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Lord · committed by David Lord · parent f918a71 · Browse files · 3 files·+70 added−70 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+70 added−70 removed
- other:+70 added−70 removed
Provenance
- Commit
447b6bb- Tree
a6d2d3e- Author
David Lord <davidism@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent
f918a71
3 files changed+70 added−70 removed
modified:src/click/__init__.py+67 added-67 removed
2 unmodified lines3 writing command line scripts fun. Unlike other modules, it's based4 around a simple API that does not come with too much magic and is5 composable.6 """7-from .core import Argument8-from .core import BaseCommand9-from .core import Command10-from .core import CommandCollection11-from .core import Context12-from .core import Group13-from .core import MultiCommand14-from .core import Option15-from .core import Parameter16-from .decorators import argument17-from .decorators import command18-from .decorators import confirmation_option19-from .decorators import group20-from .decorators import help_option21-from .decorators import make_pass_decorator22-from .decorators import option23-from .decorators import pass_context24-from .decorators import pass_obj25-from .decorators import password_option26-from .decorators import version_option27-from .exceptions import Abort28-from .exceptions import BadArgumentUsage29-from .exceptions import BadOptionUsage30-from .exceptions import BadParameter31-from .exceptions import ClickException32-from .exceptions import FileError33-from .exceptions import MissingParameter34-from .exceptions import NoSuchOption35-from .exceptions import UsageError36-from .formatting import HelpFormatter37-from .formatting import wrap_text38-from .globals import get_current_context39-from .parser import OptionParser40-from .termui import clear41-from .termui import confirm42-from .termui import echo_via_pager43-from .termui import edit44-from .termui import get_terminal_size45-from .termui import getchar46-from .termui import launch47-from .termui import pause48-from .termui import progressbar49-from .termui import prompt50-from .termui import secho51-from .termui import style52-from .termui import unstyle53-from .types import BOOL54-from .types import Choice55-from .types import DateTime56-from .types import File57-from .types import FLOAT58-from .types import FloatRange59-from .types import INT60-from .types import IntRange61-from .types import ParamType62-from .types import Path63-from .types import STRING64-from .types import Tuple65-from .types import UNPROCESSED66-from .types import UUID67-from .utils import echo68-from .utils import format_filename69-from .utils import get_app_dir70-from .utils import get_binary_stream71-from .utils import get_os_args72-from .utils import get_text_stream73-from .utils import open_file7+from .core import Argument as Argument8+from .core import BaseCommand as BaseCommand9+from .core import Command as Command10+from .core import CommandCollection as CommandCollection11+from .core import Context as Context12+from .core import Group as Group13+from .core import MultiCommand as MultiCommand14+from .core import Option as Option15+from .core import Parameter as Parameter16+from .decorators import argument as argument17+from .decorators import command as command18+from .decorators import confirmation_option as confirmation_option19+from .decorators import group as group20+from .decorators import help_option as help_option21+from .decorators import make_pass_decorator as make_pass_decorator22+from .decorators import option as option23+from .decorators import pass_context as pass_context24+from .decorators import pass_obj as pass_obj25+from .decorators import password_option as password_option26+from .decorators import version_option as version_option27+from .exceptions import Abort as Abort28+from .exceptions import BadArgumentUsage as BadArgumentUsage29+from .exceptions import BadOptionUsage as BadOptionUsage30+from .exceptions import BadParameter as BadParameter31+from .exceptions import ClickException as ClickException32+from .exceptions import FileError as FileError33+from .exceptions import MissingParameter as MissingParameter34+from .exceptions import NoSuchOption as NoSuchOption35+from .exceptions import UsageError as UsageError36+from .formatting import HelpFormatter as HelpFormatter37+from .formatting import wrap_text as wrap_text38+from .globals import get_current_context as get_current_context39+from .parser import OptionParser as OptionParser40+from .termui import clear as clear41+from .termui import confirm as confirm42+from .termui import echo_via_pager as echo_via_pager43+from .termui import edit as edit44+from .termui import get_terminal_size as get_terminal_size45+from .termui import getchar as getchar46+from .termui import launch as launch47+from .termui import pause as pause48+from .termui import progressbar as progressbar49+from .termui import prompt as prompt50+from .termui import secho as secho51+from .termui import style as style52+from .termui import unstyle as unstyle53+from .types import BOOL as BOOL54+from .types import Choice as Choice55+from .types import DateTime as DateTime56+from .types import File as File57+from .types import FLOAT as FLOAT58+from .types import FloatRange as FloatRange59+from .types import INT as INT60+from .types import IntRange as IntRange61+from .types import ParamType as ParamType62+from .types import Path as Path63+from .types import STRING as STRING64+from .types import Tuple as Tuple65+from .types import UNPROCESSED as UNPROCESSED66+from .types import UUID as UUID67+from .utils import echo as echo68+from .utils import format_filename as format_filename69+from .utils import get_app_dir as get_app_dir70+from .utils import get_binary_stream as get_binary_stream71+from .utils import get_os_args as get_os_args72+from .utils import get_text_stream as get_text_stream73+from .utils import open_file as open_file74 75 __version__ = "8.0.1.dev0"modified:CHANGES.rst+3 added
3 unmodified lines4 -------------5 6 Unreleased7 8+- Mark top-level names as exported so type checking understand imports9+ in user projects. :issue:`1879`10 11+12 Version 8.0.013 -------------14 15 Released 2021-05-11852 unmodified linesmodified:setup.cfg-3 removed
91 unmodified lines92 warn_unused_ignores = True93 warn_return_any = True94 warn_unreachable = True95 96-[mypy-click]97-no_implicit_reexport = False98-96 [mypy-colorama.*]97 ignore_missing_imports = True98 99 [mypy-importlib_metadata.*]1 unmodified line