diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a08f6952..dcffd7d7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,28 +16,28 @@ repos: - id: trailing-whitespace - repo: https://github.com/asottile/pyupgrade - rev: v3.3.0 + rev: v3.3.2 hooks: - id: pyupgrade args: [ "--py37-plus" ] - repo: https://github.com/psf/black - rev: 22.10.0 + rev: 23.3.0 hooks: - id: black - repo: https://github.com/pycqa/isort - rev: 5.10.1 + rev: 5.12.0 hooks: - id: isort - repo: https://github.com/csachs/pyproject-flake8 - rev: v6.0.0 + rev: v6.0.0.post1 hooks: - id: pyproject-flake8 - repo: https://github.com/pre-commit/pygrep-hooks - rev: v1.9.0 + rev: v1.10.0 hooks: - id: python-check-blanket-noqa - id: python-check-blanket-type-ignore diff --git a/docs/usage.rst b/docs/usage.rst index 5edeabd6..54e69fc6 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -3,7 +3,7 @@ Basic usage Serializing and deserializing with cbor2 is pretty straightforward:: - from cbor2 import dumps, loads + from cbor2 import dumps, loads, load # Serialize an object as a bytestring data = dumps(['hello', 'world']) diff --git a/setup.py b/setup.py index 2e52c14f..80f68ca6 100644 --- a/setup.py +++ b/setup.py @@ -67,5 +67,5 @@ def check_libc(): setup( use_scm_version={"version_scheme": "guess-next-dev", "local_scheme": "dirty-tag"}, setup_requires=["setuptools >= 61", "setuptools_scm >= 6.4"], - **kwargs + **kwargs, )