Skip to content

Commit

Permalink
build(deps-dev): bump black from 22.6.0 to 22.8.0 (#2109)
Browse files Browse the repository at this point in the history
* build(deps-dev): bump black from 22.6.0 to 22.8.0

Bumps [black](https://github.com/psf/black) from 22.6.0 to 22.8.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@22.6.0...22.8.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Change black version in more places

Found dangling references with this:

```bash
grep --exclude-dir={.venv,.git,.tox,.mypy_cache,w3c,_build,rdflib.egg-info} -ri 22.6.0 ./
```

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Iwan Aucamp <aucampia@gmail.com>
  • Loading branch information
dependabot[bot] and aucampia authored Sep 7, 2022
1 parent be13b3a commit bcd05e9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ repos:
args: ["."]
- repo: https://github.com/psf/black
# WARNING: version should be the same as in `pyproject.toml` and `requirements.dev.txt`.
rev: 'refs/tags/22.6.0:refs/tags/22.6.0'
# Using git ref spec because of https://github.com/psf/black/issues/2493
rev: 'refs/tags/22.8.0:refs/tags/22.8.0'
hooks:
- id: black
pass_filenames: false
Expand Down
2 changes: 1 addition & 1 deletion docs/developers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/psf/black>`_ and we use Black v22.6.0, with the black config in ``pyproject.toml``.
* Code should be formatted using `black <https://github.com/psf/black>`_ and we use Black v22.8.0, with the black config in ``pyproject.toml``.
* Code should also pass `flake8 <https://flake8.pycqa.org/en/latest/>`_ linting
and `mypy <http://mypy-lang.org/>`_ type checking.
* You must supply tests for new code.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pep8-naming = ["-N815"]


[tool.black]
required-version = "22.6.0"
required-version = "22.8.0"
line-length = "88"
target-version = ['py37']
include = '\.pyi?$'
Expand Down
2 changes: 1 addition & 1 deletion requirements.dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
black==22.6.0
black==22.8.0
coverage
doctest-ignore-unicode==0.1.2
html5lib
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"berkeleydb": ["berkeleydb"],
"networkx": ["networkx"],
"dev": [
"black==22.6.0",
"black==22.8.0",
"flake8",
"flakeheaven >= 2.1.3; python_version >= '3.8.0'",
"isort",
Expand Down

0 comments on commit bcd05e9

Please sign in to comment.