Merge branch '8.0.x'
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 · parents 49164fa, e8b350b · Browse files · 11 files·+43 added−143 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
11 files+43 added−143 removed
- other:+43 added−143 removed
Provenance
- Commit
0a5cb25- Tree
8835788- Author
David Lord <davidism@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent 1
49164fa- Parent 2
e8b350b
11 files changed+43 added−143 removed
modified:.github/workflows/tests.yaml+2 added-8 removed
36 unmodified lines37383940414243444546474647484950515253484950514 unmodified lines36 unmodified lines - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: python-version: ${{ matrix.python }} cache: 'pip' cache-dependency-path: 'requirements/*.txt' - name: update pip run: | pip install -U wheel pip install -U setuptools python -m pip install -U pip - name: get pip cache dir id: pip-cache run: echo "::set-output name=dir::$(pip cache dir)" - name: cache pip uses: actions/cache@v2 with: path: ${{ steps.pip-cache.outputs.dir }} key: pip|${{ runner.os }}|${{ matrix.python }}|${{ hashFiles('setup.py') }}|${{ hashFiles('requirements/*.txt') }} - name: cache mypy uses: actions/cache@v2 with: path: ./.mypy_cache4 unmodified linesmodified:.github/dependabot.yml-10 removed
12345678910111234563 unmodified linesversion: 2updates:- package-ecosystem: "pip" directory: "/requirements" target-branch: "8.0.x" versioning-strategy: "lockfile-only" schedule: interval: "monthly" day: "monday" time: "16:00" timezone: "UTC" open-pull-requests-limit: 99- package-ecosystem: "github-actions" directory: "/" schedule: interval: "monthly"3 unmodified linesmodified:requirements/dev.in+1 added-1 removed
1 -r docs.in2 -r tests.in3 -r typing.in4-pip-tools4+pip-compile-multi5 pre-commit6 toxmodified:requirements/dev.txt+19 added-105 removed
1+# SHA1:54b5b77ec8c7a0064ffa93b2fd16cb0130ba177c2 #2-# This file is autogenerated by pip-compile with python 3.103+# This file is autogenerated by pip-compile-multi4 # To update, run:5 #5-# pip-compile requirements/dev.in6+# pip-compile-multi7 #7-alabaster==0.7.128- # via sphinx9-attrs==21.4.010- # via pytest11-babel==2.9.112- # via sphinx13-certifi==2021.10.814- # via requests8+-r docs.txt9+-r tests.txt10+-r typing.txt11 cfgv==3.3.112 # via pre-commit17-charset-normalizer==2.0.1018- # via requests13 click==8.0.320- # via pip-tools14+ # via15+ # pip-compile-multi16+ # pip-tools17 distlib==0.3.418 # via virtualenv23-docutils==0.1619+filelock==3.6.020 # via25- # sphinx26- # sphinx-tabs27-filelock==3.4.228- # via21 # tox22 # virtualenv31-identify==2.4.323+identify==2.4.1024 # via pre-commit33-idna==3.334- # via requests35-imagesize==1.3.036- # via sphinx37-iniconfig==1.1.138- # via pytest39-jinja2==3.0.340- # via sphinx41-markupsafe==2.0.142- # via jinja243-mypy==0.93144- # via -r requirements/typing.in45-mypy-extensions==0.4.346- # via mypy25 nodeenv==1.6.026 # via pre-commit49-packaging==21.350- # via51- # pallets-sphinx-themes52- # pytest53- # sphinx54- # tox55-pallets-sphinx-themes==2.0.256- # via -r requirements/docs.in27 pep517==0.12.028 # via pip-tools59-pip-tools==6.4.029+pip-compile-multi==2.4.330 # via -r requirements/dev.in31+pip-tools==6.5.132+ # via pip-compile-multi61-platformdirs==2.4.133+platformdirs==2.5.034 # via virtualenv63-pluggy==1.0.064- # via65- # pytest66- # tox67-pre-commit==2.16.035+pre-commit==2.17.036 # via -r requirements/dev.in69-py==1.11.070- # via71- # pytest72- # tox73-pygments==2.11.274- # via75- # sphinx76- # sphinx-tabs77-pyparsing==3.0.678- # via packaging79-pytest==6.2.580- # via -r requirements/tests.in81-pytz==2021.382- # via babel37 pyyaml==6.038 # via pre-commit85-requests==2.27.186- # via sphinx39 six==1.16.040 # via41 # tox42 # virtualenv91-snowballstemmer==2.2.092- # via sphinx93-sphinx==4.3.294- # via95- # -r requirements/docs.in96- # pallets-sphinx-themes97- # sphinx-issues98- # sphinx-tabs99- # sphinxcontrib-log-cabinet100-sphinx-issues==3.0.1101- # via -r requirements/docs.in102-sphinx-tabs==3.2.0103- # via -r requirements/docs.in104-sphinxcontrib-applehelp==1.0.2105- # via sphinx106-sphinxcontrib-devhelp==1.0.2107- # via sphinx108-sphinxcontrib-htmlhelp==2.0.0109- # via sphinx110-sphinxcontrib-jsmath==1.0.1111- # via sphinx112-sphinxcontrib-log-cabinet==1.0.1113- # via -r requirements/docs.in114-sphinxcontrib-qthelp==1.0.3115- # via sphinx116-sphinxcontrib-serializinghtml==1.1.5117- # via sphinx118-toml==0.10.2119- # via120- # pre-commit121- # pytest122- # tox123-tomli==2.0.0124- # via125- # mypy126- # pep51743+toposort==1.744+ # via pip-compile-multi45 tox==3.24.546 # via -r requirements/dev.in129-typing-extensions==4.0.1130- # via mypy131-urllib3==1.26.8132- # via requests133-virtualenv==20.13.047+virtualenv==20.13.148 # via49 # pre-commit50 # tox51 wheel==0.37.15 unmodified linesmodified:requirements/docs.txt+6 added-8 removed
1+# SHA1:34fd4ca6516e97c7348e6facdd9c4ebb68209d1c2 #2-# This file is autogenerated by pip-compile with python 3.103+# This file is autogenerated by pip-compile-multi4 # To update, run:5 #5-# pip-compile requirements/docs.in6+# pip-compile-multi7 #8 alabaster==0.7.129 # via sphinx10 babel==2.9.111 # via sphinx12 certifi==2021.10.813 # via requests13-charset-normalizer==2.0.1014+charset-normalizer==2.0.1215 # via requests16 docutils==0.1617 # via18 # sphinx15 unmodified lines34 pygments==2.11.235 # via36 # sphinx37 # sphinx-tabs37-pyparsing==3.0.638+pyparsing==3.0.739 # via packaging40 pytz==2021.341 # via babel42 requests==2.27.143 # via sphinx44 snowballstemmer==2.2.045 # via sphinx45-sphinx==4.3.246+sphinx==4.4.047 # via48 # -r requirements/docs.in49 # pallets-sphinx-themes50 # sphinx-issues18 unmodified lines69 sphinxcontrib-serializinghtml==1.1.570 # via sphinx71 urllib3==1.26.872 # via requests72-73-# The following packages are considered to be unsafe in a requirements file:74-# setuptoolsmodified:requirements/tests.in+1 added-1 removed
1-pytest1+pytest<7modified:requirements/tests.txt+4 added-3 removed
1+# SHA1:43b07f68ee4dcf187dce9de79fc8dd462f1c99d62 #2-# This file is autogenerated by pip-compile with python 3.103+# This file is autogenerated by pip-compile-multi4 # To update, run:5 #5-# pip-compile requirements/tests.in6+# pip-compile-multi7 #8 attrs==21.4.09 # via pytest10 iniconfig==1.1.13 unmodified lines14 pluggy==1.0.015 # via pytest16 py==1.11.017 # via pytest17-pyparsing==3.0.618+pyparsing==3.0.719 # via packaging20 pytest==6.2.521 # via -r requirements/tests.in22 toml==0.10.21 unmodified linemodified:requirements/typing.txt+5 added-4 removed
1+# SHA1:7983aaa01d64547827c20395d77e248c41b2572f2 #2-# This file is autogenerated by pip-compile with python 3.103+# This file is autogenerated by pip-compile-multi4 # To update, run:5 #5-# pip-compile requirements/typing.in6+# pip-compile-multi7 #8 mypy==0.9319 # via -r requirements/typing.in10 mypy-extensions==0.4.311 # via mypy11-tomli==2.0.012+tomli==2.0.113 # via mypy13-typing-extensions==4.0.114+typing-extensions==4.1.115 # via mypymodified:src/click/termui.py+1 added-1 removed
602 unmodified lines603 604 605 def secho(606 message: t.Optional[t.Any] = None,607- file: t.Optional[t.IO] = None,607+ file: t.Optional[t.IO[t.AnyStr]] = None,608 nl: bool = True,609 err: bool = False,610 color: t.Optional[bool] = None,611 **styles: t.Any,175 unmodified linesmodified:.pre-commit-config.yaml+3 added-2 removed
6 unmodified lines7 hooks:8 - id: pyupgrade9 args: ["--py37-plus"]10 - repo: https://github.com/asottile/reorder_python_imports11- rev: v2.6.011+ rev: v2.7.112 hooks:13 - id: reorder-python-imports14 args: ["--application-directories", "src"]15+ additional_dependencies: ["setuptools>60.9"]16 - repo: https://github.com/psf/black16- rev: 21.12b017+ rev: 22.1.018 hooks:19 - id: black20 - repo: https://github.com/PyCQA/flake821 rev: 4.0.111 unmodified linesmodified:CHANGES.rst+1 added
31 unmodified lines32 ``__str__`` instead of always showing ``(dynamic)``. :issue:`2099`33 - Fix a typo in the Bash completion script that affected file and34 directory completion. If this script was generated by a previous35 version, it should be regenerated. :issue:`2163`36+- Fix typing for ``secho`` file argument. :issue:`2174`37 38 39 Version 8.0.340 -------------930 unmodified lines