-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
69 additions
and
135 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 |
---|---|---|
@@ -1,18 +1,15 @@ | ||
*.pyc | ||
*.pyo | ||
/.idea/ | ||
/.vscode/ | ||
/env/ | ||
/venv/ | ||
__pycache__/ | ||
.idea/ | ||
.ropeproject | ||
.DS_Store | ||
env/ | ||
venv/ | ||
*.pyc | ||
*.egg-info/ | ||
*.eggs/ | ||
build/ | ||
dist/ | ||
docs/_build/ | ||
.pytest_cache/ | ||
.tox/ | ||
/build/ | ||
/dist/ | ||
/.pytest_cache/ | ||
/.tox/ | ||
.coverage | ||
.coverage.* | ||
htmlcov/ | ||
/htmlcov/ | ||
/docs/_build/ |
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,39 +1,28 @@ | ||
Copyright © 2014 by the Pallets team. | ||
Copyright 2014 Pallets | ||
|
||
Some rights reserved. | ||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are | ||
met: | ||
|
||
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 | ||
1. 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 | ||
2. 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 | ||
3. 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 SOFTWARE 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, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
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,8 @@ | ||
include CHANGES.rst | ||
include CONTRIBUTING.rst | ||
include LICENSE.rst | ||
include README.rst | ||
include tox.ini | ||
graft artwork | ||
graft docs | ||
prune docs/_build | ||
graft examples | ||
graft tests | ||
global-exclude *.py[co] .DS_Store | ||
global-exclude *.pyc |
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
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
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,4 +1,4 @@ | ||
Changelog | ||
========= | ||
Changes | ||
======= | ||
|
||
.. include:: ../CHANGES.rst |
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,14 +1,4 @@ | ||
License | ||
======= | ||
|
||
Click is licensed under a three-clause BSD License. It basically means: | ||
do whatever you want with it as long as the copyright in Click sticks | ||
around, the conditions are not modified and the disclaimer is present. | ||
Furthermore, you must not use the names of the authors to promote derivatives | ||
of the software without written consent. | ||
|
||
License Text | ||
------------ | ||
BSD-3-Clause License | ||
==================== | ||
|
||
.. include:: ../LICENSE.rst | ||
|
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
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,32 +1,15 @@ | ||
[tox] | ||
envlist = | ||
py{37,36,35,27,py3,py} | ||
py{38,37,36,35,27,py3,py} | ||
docs | ||
coverage | ||
skip_missing_interpreters = true | ||
|
||
[testenv] | ||
deps = | ||
pytest | ||
coverage | ||
colorama | ||
commands = coverage run -p -m pytest --tb=short -Werror --basetemp={envtmpdir} {posargs} | ||
commands = pytest --tb=short --basetemp={envtmpdir} {posargs} | ||
|
||
[testenv:docs] | ||
deps = -r docs/requirements.txt | ||
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html | ||
|
||
[testenv:coverage] | ||
deps = coverage | ||
skip_install = true | ||
commands = | ||
coverage combine | ||
coverage html | ||
coverage report | ||
|
||
[testenv:coverage-ci] | ||
deps = codecov | ||
skip_install = true | ||
commands = | ||
coverage combine | ||
coverage xml |