forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backed out changeset 6a2e62e9cc99 (bug 1732946) for causing failures …
…at test_vendor.py. CLOSED TREE
- Loading branch information
Butkovits Atila
committed
Nov 24, 2021
1 parent
1263f84
commit 8625ba4
Showing
50 changed files
with
1,687 additions
and
3,242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
Copyright © 2014 by the Pallets team. | ||
|
||
Some rights reserved. | ||
|
||
Redistribution and use in source and binary forms of the software as | ||
well as documentation, with or without modification, are permitted | ||
provided that the following conditions are met: | ||
|
||
- Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
|
||
- Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
|
||
- Neither the name of the copyright holder nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND | ||
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, | ||
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND | ||
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | ||
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF | ||
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON | ||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||
THIS SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
SUCH DAMAGE. | ||
|
||
---- | ||
|
||
Click uses parts of optparse written by Gregory P. Ward and maintained | ||
by the Python Software Foundation. This is limited to code in parser.py. | ||
|
||
Copyright © 2001-2006 Gregory P. Ward. All rights reserved. | ||
Copyright © 2002-2006 Python Software Foundation. All rights reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
Metadata-Version: 2.1 | ||
Name: click | ||
Version: 7.1.2 | ||
Name: Click | ||
Version: 7.0 | ||
Summary: Composable command line interface toolkit | ||
Home-page: https://palletsprojects.com/p/click/ | ||
Maintainer: Pallets | ||
Author: Armin Ronacher | ||
Author-email: [email protected] | ||
Maintainer: Pallets Team | ||
Maintainer-email: [email protected] | ||
License: BSD-3-Clause | ||
License: BSD | ||
Project-URL: Documentation, https://click.palletsprojects.com/ | ||
Project-URL: Code, https://github.com/pallets/click | ||
Project-URL: Issue tracker, https://github.com/pallets/click/issues | ||
|
@@ -16,8 +18,13 @@ Classifier: License :: OSI Approved :: BSD License | |
Classifier: Operating System :: OS Independent | ||
Classifier: Programming Language :: Python | ||
Classifier: Programming Language :: Python :: 2 | ||
Classifier: Programming Language :: Python :: 2.7 | ||
Classifier: Programming Language :: Python :: 3 | ||
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.* | ||
Classifier: Programming Language :: Python :: 3.4 | ||
Classifier: Programming Language :: Python :: 3.5 | ||
Classifier: Programming Language :: Python :: 3.6 | ||
Classifier: Programming Language :: Python :: 3.7 | ||
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* | ||
|
||
\$ click\_ | ||
========== | ||
|
@@ -45,29 +52,36 @@ Install and update using `pip`_: | |
|
||
.. code-block:: text | ||
|
||
$ pip install -U click | ||
$ pip install click | ||
|
||
Click supports Python 3.4 and newer, Python 2.7, and PyPy. | ||
|
||
.. _pip: https://pip.pypa.io/en/stable/quickstart/ | ||
|
||
|
||
A Simple Example | ||
---------------- | ||
|
||
What does it look like? Here is an example of a simple Click program: | ||
|
||
.. code-block:: python | ||
|
||
import click | ||
|
||
@click.command() | ||
@click.option("--count", default=1, help="Number of greetings.") | ||
@click.option("--name", prompt="Your name", help="The person to greet.") | ||
@click.option("--name", prompt="Your name", | ||
help="The person to greet.") | ||
def hello(count, name): | ||
"""Simple program that greets NAME for a total of COUNT times.""" | ||
for _ in range(count): | ||
click.echo(f"Hello, {name}!") | ||
click.echo("Hello, %s!" % name) | ||
|
||
if __name__ == '__main__': | ||
hello() | ||
|
||
And what it looks like when run: | ||
|
||
.. code-block:: text | ||
|
||
$ python hello.py --count=3 | ||
|
@@ -91,12 +105,17 @@ donate today`_. | |
Links | ||
----- | ||
|
||
- Website: https://palletsprojects.com/p/click/ | ||
- Documentation: https://click.palletsprojects.com/ | ||
- Releases: https://pypi.org/project/click/ | ||
- Code: https://github.com/pallets/click | ||
- Issue tracker: https://github.com/pallets/click/issues | ||
- Test status: https://dev.azure.com/pallets/click/_build | ||
- Official chat: https://discord.gg/t6rrQZH | ||
* Website: https://palletsprojects.com/p/click/ | ||
* Documentation: https://click.palletsprojects.com/ | ||
* License: `BSD <https://github.com/pallets/click/blob/master/LICENSE.rst>`_ | ||
* Releases: https://pypi.org/project/click/ | ||
* Code: https://github.com/pallets/click | ||
* Issue tracker: https://github.com/pallets/click/issues | ||
* Test status: | ||
|
||
* Linux, Mac: https://travis-ci.org/pallets/click | ||
* Windows: https://ci.appveyor.com/project/pallets/click | ||
|
||
* Test coverage: https://codecov.io/gh/pallets/click | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Click-7.0.dist-info/LICENSE.txt,sha256=4hIxn676T0Wcisk3_chVcECjyrivKTZsoqSNI5AlIlw,1876 | ||
Click-7.0.dist-info/METADATA,sha256=-r8jeke3Zer4diRvT1MjFZuiJ6yTT_qFP39svLqdaLI,3516 | ||
Click-7.0.dist-info/RECORD,, | ||
Click-7.0.dist-info/WHEEL,sha256=gduuPyBvFJQSQ0zdyxF7k0zynDXbIbvg5ZBHoXum5uk,110 | ||
Click-7.0.dist-info/top_level.txt,sha256=J1ZQogalYS4pphY_lPECoNMfw0HzTSrZglC4Yfwo4xA,6 | ||
click/__init__.py,sha256=HjGThQ7tef9kkwCV371TBnrf0SAi6fKfU_jtEnbYTvQ,2789 | ||
click/_bashcomplete.py,sha256=iaNUmtxag0YPfxba3TDYCNietiTMQIrvhRLj-H8okFU,11014 | ||
click/_compat.py,sha256=vYmvoj4opPxo-c-2GMQQjYT_r_QkOKybkfGoeVrt0dA,23399 | ||
click/_termui_impl.py,sha256=xHmLtOJhKUCVD6168yucJ9fknUJPAMs0eUTPgVUO-GQ,19611 | ||
click/_textwrap.py,sha256=gwS4m7bdQiJnzaDG8osFcRb-5vn4t4l2qSCy-5csCEc,1198 | ||
click/_unicodefun.py,sha256=QHy2_5jYlX-36O-JVrTHNnHOqg8tquUR0HmQFev7Ics,4364 | ||
click/_winconsole.py,sha256=PPWVak8Iikm_gAPsxMrzwsVFCvHgaW3jPaDWZ1JBl3U,8965 | ||
click/core.py,sha256=q8FLcDZsagBGSRe5Y9Hi_FGvAeZvusNfoO5EkhkSQ8Y,75305 | ||
click/decorators.py,sha256=idKt6duLUUfAFftrHoREi8MJSd39XW36pUVHthdglwk,11226 | ||
click/exceptions.py,sha256=CNpAjBAE7qjaV4WChxQeak95e5yUOau8AsvT-8m6wss,7663 | ||
click/formatting.py,sha256=eh-cypTUAhpI3HD-K4ZpR3vCiURIO62xXvKkR3tNUTM,8889 | ||
click/globals.py,sha256=oQkou3ZQ5DgrbVM6BwIBirwiqozbjfirzsLGAlLRRdg,1514 | ||
click/parser.py,sha256=m-nGZz4VwprM42_qtFlWFGo7yRJQxkBlRcZodoH593Y,15510 | ||
click/termui.py,sha256=o_ZXB2jyvL2Rce7P_bFGq452iyBq9ykJyRApIPMCZO0,23207 | ||
click/testing.py,sha256=aYGqY_iWLu2p4k7lkuJ6t3fqpf6aPGqTsyLzNY_ngKg,13062 | ||
click/types.py,sha256=2Q929p-aBP_ZYuMFJqJR-Ipucofv3fmDc5JzBDPmzJU,23287 | ||
click/utils.py,sha256=6-D0WkAxvv9FkgHXSHwDIv0l9Gdx9Mm6Z5vuKNLIfZI,15763 |
2 changes: 1 addition & 1 deletion
2
.../python/click/click-7.1.2.dist-info/WHEEL → ...ty/python/Click/Click-7.0.dist-info/WHEEL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
click | ||
~~~~~ | ||
Click is a simple Python module inspired by the stdlib optparse to make | ||
writing command line scripts fun. Unlike other modules, it's based | ||
around a simple API that does not come with too much magic and is | ||
composable. | ||
:copyright: © 2014 by the Pallets team. | ||
:license: BSD, see LICENSE.rst for more details. | ||
""" | ||
|
||
# Core classes | ||
from .core import Context, BaseCommand, Command, MultiCommand, Group, \ | ||
CommandCollection, Parameter, Option, Argument | ||
|
||
# Globals | ||
from .globals import get_current_context | ||
|
||
# Decorators | ||
from .decorators import pass_context, pass_obj, make_pass_decorator, \ | ||
command, group, argument, option, confirmation_option, \ | ||
password_option, version_option, help_option | ||
|
||
# Types | ||
from .types import ParamType, File, Path, Choice, IntRange, Tuple, \ | ||
DateTime, STRING, INT, FLOAT, BOOL, UUID, UNPROCESSED, FloatRange | ||
|
||
# Utilities | ||
from .utils import echo, get_binary_stream, get_text_stream, open_file, \ | ||
format_filename, get_app_dir, get_os_args | ||
|
||
# Terminal functions | ||
from .termui import prompt, confirm, get_terminal_size, echo_via_pager, \ | ||
progressbar, clear, style, unstyle, secho, edit, launch, getchar, \ | ||
pause | ||
|
||
# Exceptions | ||
from .exceptions import ClickException, UsageError, BadParameter, \ | ||
FileError, Abort, NoSuchOption, BadOptionUsage, BadArgumentUsage, \ | ||
MissingParameter | ||
|
||
# Formatting | ||
from .formatting import HelpFormatter, wrap_text | ||
|
||
# Parsing | ||
from .parser import OptionParser | ||
|
||
|
||
__all__ = [ | ||
# Core classes | ||
'Context', 'BaseCommand', 'Command', 'MultiCommand', 'Group', | ||
'CommandCollection', 'Parameter', 'Option', 'Argument', | ||
|
||
# Globals | ||
'get_current_context', | ||
|
||
# Decorators | ||
'pass_context', 'pass_obj', 'make_pass_decorator', 'command', 'group', | ||
'argument', 'option', 'confirmation_option', 'password_option', | ||
'version_option', 'help_option', | ||
|
||
# Types | ||
'ParamType', 'File', 'Path', 'Choice', 'IntRange', 'Tuple', | ||
'DateTime', 'STRING', 'INT', 'FLOAT', 'BOOL', 'UUID', 'UNPROCESSED', | ||
'FloatRange', | ||
|
||
# Utilities | ||
'echo', 'get_binary_stream', 'get_text_stream', 'open_file', | ||
'format_filename', 'get_app_dir', 'get_os_args', | ||
|
||
# Terminal functions | ||
'prompt', 'confirm', 'get_terminal_size', 'echo_via_pager', | ||
'progressbar', 'clear', 'style', 'unstyle', 'secho', 'edit', 'launch', | ||
'getchar', 'pause', | ||
|
||
# Exceptions | ||
'ClickException', 'UsageError', 'BadParameter', 'FileError', | ||
'Abort', 'NoSuchOption', 'BadOptionUsage', 'BadArgumentUsage', | ||
'MissingParameter', | ||
|
||
# Formatting | ||
'HelpFormatter', 'wrap_text', | ||
|
||
# Parsing | ||
'OptionParser', | ||
] | ||
|
||
|
||
# Controls if click should emit the warning about the use of unicode | ||
# literals. | ||
disable_unicode_literals_warning = False | ||
|
||
|
||
__version__ = '7.0' |
Oops, something went wrong.