Skip to content

Commit 838da6d

Browse files
committed
Update black
1 parent b800853 commit 838da6d

File tree

4 files changed

+33
-4
lines changed

4 files changed

+33
-4
lines changed

poetry.lock

Lines changed: 27 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ pytest-benchmark = "^3.4"
4949
pytest-cov = "^2.10"
5050
pytest-describe = "^1.0"
5151
pytest-timeout = "^1.4"
52-
black = "20.8b1"
52+
black = [
53+
{version = "20.8b1", python = "<3.6.2"},
54+
{version = "21.4b0", python = ">=3.6.2"}
55+
]
5356
flake8 = "^3.9"
5457
mypy = "0.812"
5558
codecov = "^2"

tests/test_user_registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class MutationEnum(Enum):
5151

5252

5353
class UserRegistry:
54-
""""Simulation of a user registry with asynchronous database backend access."""
54+
"""Simulation of a user registry with asynchronous database backend access."""
5555

5656
def __init__(self, **users):
5757
self._registry: Dict[str, User] = users

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ isolated_build = true
44

55
[testenv:black]
66
basepython = python3.8
7-
deps = black==20.8b1
7+
deps = black==21.4b0
88
commands =
99
black src tests setup.py --check
1010

0 commit comments

Comments
 (0)