diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 363d22687..3ee7226e1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: - repo: https://github.com/psf/black # WARNING: version should be the same as in `pyproject.toml` and `requirements.dev.txt`. # Using git ref spec because of https://github.com/psf/black/issues/2493 - rev: 'refs/tags/22.8.0:refs/tags/22.8.0' + rev: 'refs/tags/22.10.0:refs/tags/22.10.0' hooks: - id: black pass_filenames: false diff --git a/docs/developers.rst b/docs/developers.rst index e8c2b19ab..1390e3af7 100644 --- a/docs/developers.rst +++ b/docs/developers.rst @@ -10,7 +10,7 @@ This document describes the process and conventions to follow when developing RDFLib code. * Please be as Pythonic as possible (:pep:`8`). -* Code should be formatted using `black `_ and we use Black v22.8.0, with the black config in ``pyproject.toml``. +* Code should be formatted using `black `_ and we use Black v22.10.0, with the black config in ``pyproject.toml``. * Code should also pass `flake8 `_ linting and `mypy `_ type checking. * You must supply tests for new code. diff --git a/pyproject.toml b/pyproject.toml index 16ac0a183..4eba7fcf6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ pep8-naming = ["-N815"] [tool.black] -required-version = "22.8.0" +required-version = "22.10.0" line-length = "88" target-version = ['py37'] include = '\.pyi?$' diff --git a/requirements.dev.txt b/requirements.dev.txt index 343df837c..60eed80ee 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -1,4 +1,4 @@ -black==22.8.0 +black==22.10.0 coverage doctest-ignore-unicode==0.1.2 html5lib diff --git a/setup.py b/setup.py index 2c459cf9f..b705d19be 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ "berkeleydb": ["berkeleydb"], "networkx": ["networkx"], "dev": [ - "black==22.8.0", + "black==22.10.0", "flake8", "flakeheaven >= 2.1.3; python_version >= '3.8.0'", "isort",