Skip to content

Commit 512b9b3

Browse files
authored
Update black to 22.6.0 (#2015)
Update black to 22.6.0 in all places where the version is specified to ensure we are using the latest version.
1 parent 7b28259 commit 512b9b3

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616
args: ["."]
1717
- repo: https://github.com/psf/black
1818
# WARNING: version should be the same as in `pyproject.toml` and `requirements.dev.txt`.
19-
rev: 'refs/tags/22.3.0:refs/tags/22.3.0'
19+
rev: 'refs/tags/22.6.0:refs/tags/22.6.0'
2020
hooks:
2121
- id: black
2222
pass_filenames: false

docs/developers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This document describes the process and conventions to follow when
1010
developing RDFLib code.
1111

1212
* Please be as Pythonic as possible (:pep:`8`).
13-
* Code should be formatted using `black <https://github.com/psf/black>`_ and we use Black v22.3.0, with the black config in ``pyproject.toml``.
13+
* Code should be formatted using `black <https://github.com/psf/black>`_ and we use Black v22.6.0, with the black config in ``pyproject.toml``.
1414
* Code should also pass `flake8 <https://flake8.pycqa.org/en/latest/>`_ linting
1515
and `mypy <http://mypy-lang.org/>`_ type checking.
1616
* You must supply tests for new code.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pep8-naming = ["-N815"]
3030

3131

3232
[tool.black]
33-
required-version = "22.3.0"
33+
required-version = "22.6.0"
3434
line-length = "88"
3535
target-version = ['py37']
3636
include = '\.pyi?$'

requirements.dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
black==22.3.0
1+
black==22.6.0
22
coverage
33
doctest-ignore-unicode==0.1.2
44
html5lib

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"berkeleydb": ["berkeleydb"],
3232
"networkx": ["networkx"],
3333
"dev": [
34-
"black==22.3.0",
34+
"black==22.6.0",
3535
"flake8",
3636
"flakeheaven; python_version >= '3.8.0'",
3737
"isort",

0 commit comments

Comments
 (0)