diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6c74c7e..b5237b2 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/doc-source/index.rst b/doc-source/index.rst index 7e0764c..053b0b0 100644 --- a/doc-source/index.rst +++ b/doc-source/index.rst @@ -133,10 +133,12 @@ Installation .. start installation -.. installation:: sdjson +.. installation:: singledispatch-json :pypi: + :pypi-name: sdjson :github: :anaconda: + :conda-name: sdjson :conda-channels: conda-forge, domdfcoding .. end installation diff --git a/formate.toml b/formate.toml index 5496efc..4e1efc8 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