diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f2a6cb8..7ca49d7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,7 +32,7 @@ repos: - id: end-of-file-fixer - repo: https://github.com/domdfcoding/pre-commit-hooks - rev: v0.4.0 + rev: v0.5.0 hooks: - id: requirements-txt-sorter args: @@ -80,7 +80,7 @@ repos: - id: snippet-fmt - repo: https://github.com/python-formate/formate - rev: v0.9.0 + rev: v1.1.2 hooks: - id: formate exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$ diff --git a/README.rst b/README.rst index 9feb43e..042302f 100644 --- a/README.rst +++ b/README.rst @@ -103,7 +103,7 @@ dep_checker :alt: Maintenance .. |pypi-downloads| image:: https://img.shields.io/pypi/dm/dep_checker - :target: https://pypistats.org/packages/dep_checker/ + :target: https://pypistats.org/packages/dep_checker :alt: PyPI - Downloads .. end shields @@ -119,6 +119,6 @@ To install with ``pip``: .. code-block:: bash - $ python -m pip install dep_checker + $ python -m pip install dep-checker .. end installation diff --git a/doc-source/index.rst b/doc-source/index.rst index adeb334..7867112 100644 --- a/doc-source/index.rst +++ b/doc-source/index.rst @@ -121,6 +121,7 @@ Installation .. installation:: dep_checker :pypi: + :pypi-name: dep-checker :github: .. end installation diff --git a/formate.toml b/formate.toml index d901a57..2029472 100644 --- a/formate.toml +++ b/formate.toml @@ -5,6 +5,7 @@ reformat-generics = 40 noqa-reformat = 60 ellipsis-reformat = 70 squish_stubs = 80 +newline_after_equals = 90 [hooks.yapf] priority = 30 diff --git a/tox.ini b/tox.ini index 6aa70b4..7d89c38 100644 --- a/tox.ini +++ b/tox.ini @@ -132,7 +132,6 @@ deps = git+https://github.com/python-formate/flake8-missing-annotations.git git+https://github.com/domdfcoding/pydocstyle.git@stub-functions pygments>=2.7.1 - importlib_metadata<4.5.0; python_version<'3.8' commands = python3 -m flake8_rst_docstrings_sphinx dep_checker tests --allow-toolbox {posargs} [testenv:perflint]