Merge pull request #1792 from pallets/consistency
Before adoption: this commit came in with the history the project adopted, so no landing records it.
various cleanup for consistency between projects
authored by David Lord · committed by GitHub · parents 890e984, ac82caf · Browse files · 7 files·+35 added−20 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
7 files+35 added−20 removed
- other:+35 added−20 removed
Provenance
- Commit
98e471f- Tree
3d9d49d- Author
David Lord <davidism@gmail.com>- Committer
GitHub <noreply@github.com>- Parent 1
890e984- Parent 2
ac82caf
7 files changed+35 added−20 removed
modified:.github/workflows/tests.yaml+7 added-2 removed
44 unmodified lines45464748494950515253545556575358596044 unmodified lines - name: get pip cache dir id: pip-cache run: echo "::set-output name=dir::$(pip cache dir)" - name: cache pip uses: actions/cache@v1 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_cache key: mypy|${{ matrix.python }}|${{ hashFiles('setup.cfg') }} if: matrix.tox == 'style' if: matrix.tox == 'typing' - run: pip install tox - run: tox -e ${{ matrix.tox }}deleted:docs/changelog.rst-4 removed
1-Changes2-=======3-4-.. include:: ../CHANGES.rstadded:docs/changes.rst+4 added
1+Changes2+=======3+4+.. include:: ../CHANGES.rstmodified:docs/conf.py+5 added-3 removed
31 unmodified lines32 html_theme = "click"33 html_theme_options = {"index_sidebar_logo": False}34 html_context = {35 "project_links": [36- ProjectLink("Donate to Pallets", "https://palletsprojects.com/donate"),37- ProjectLink("Click Website", "https://palletsprojects.com/p/click/"),38- ProjectLink("PyPI releases", "https://pypi.org/project/click/"),36+ ProjectLink("Donate", "https://palletsprojects.com/donate"),37+ ProjectLink("PyPI Releases", "https://pypi.org/project/click/"),38 ProjectLink("Source Code", "https://github.com/pallets/click/"),39 ProjectLink("Issue Tracker", "https://github.com/pallets/click/issues/"),40+ ProjectLink("Website", "https://palletsprojects.com/"),41+ ProjectLink("Twitter", "https://twitter.com/PalletsTeam"),42+ ProjectLink("Chat", "https://discord.gg/pallets"),43 ]44 }45 html_sidebars = {46 "index": ["project.html", "localtoc.html", "searchbox.html"],12 unmodified linesmodified:docs/index.rst+1 added-1 removed
100 unmodified lines101 .. toctree::102 :maxdepth: 2103 104 contrib105- changelog105 upgrading106 license107+ changesmodified:README.rst+7 added-6 removed
68 unmodified lines69 70 Links71 -----72 73-- Website: https://palletsprojects.com/p/click/73 - Documentation: https://click.palletsprojects.com/74+- Changes: https://click.palletsprojects.com/changes/75-- Releases: https://pypi.org/project/click/76-- Code: https://github.com/pallets/click77-- Issue tracker: https://github.com/pallets/click/issues78-- Test status: https://dev.azure.com/pallets/click/_build79-- Official chat: https://discord.gg/t6rrQZH75+- PyPI Releases: https://pypi.org/project/click/76+- Source Code: https://github.com/pallets/click77+- Issue Tracker: https://github.com/pallets/click/issues78+- Website: https://palletsprojects.com/p/click79+- Twitter: https://twitter.com/PalletsTeam80+- Chat: https://discord.gg/palletsmodified:setup.cfg+11 added-4 removed
1 unmodified line2 name = click3 version = attr: click.__version__4 url = https://palletsprojects.com/p/click/5 project_urls =6+ Donate = https://palletsprojects.com/donate7 Documentation = https://click.palletsprojects.com/7- Code = https://github.com/pallets/click8- Issue tracker = https://github.com/pallets/click/issues8+ Changes = https://click.palletsprojects.com/changes/9+ Source Code = https://github.com/pallets/click/10+ Issue Tracker = https://github.com/pallets/click/issues/11+ Twitter = https://twitter.com/PalletsTeam12+ Chat = https://discord.gg/pallets13 license = BSD-3-Clause14 license_files = LICENSE.rst15 author = Armin Ronacher16 author_email = armin.ronacher@active-4.com26 unmodified lines43 44 [coverage:run]45 branch = true46 source =43- src47+ click48 tests49 50 [coverage:paths]51 source =31 unmodified lines83 # disallow_untyped_defs = True84 disallow_incomplete_defs = True85 no_implicit_optional = True86 local_partial_types = True83-# no_implicit_reexport = True87+no_implicit_reexport = True88 strict_equality = True89 warn_redundant_casts = True90 warn_unused_configs = True91 warn_unused_ignores = True92 warn_return_any = True93 warn_unreachable = True94 95+[mypy-click]96+no_implicit_reexport = False97+98 [mypy-importlib_metadata.*]99 ignore_missing_imports = True