From ff5a3d82cbe699b0b63a81226e80d7d859b872ae Mon Sep 17 00:00:00 2001 From: Deimos Date: Wed, 14 Jul 2021 21:34:47 -0600 Subject: [PATCH] Update Black to 21.6b0 This found a few docstrings that I had messed up. --- tildes/requirements-dev.txt | 4 ++-- tildes/tests/test_simplestring_field.py | 4 ++-- tildes/tests/test_topic_tags.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tildes/requirements-dev.txt b/tildes/requirements-dev.txt index e2a04a4..e74536c 100644 --- a/tildes/requirements-dev.txt +++ b/tildes/requirements-dev.txt @@ -6,7 +6,7 @@ astroid==2.6.2 attrs==20.2.0 backcall==0.2.0 beautifulsoup4==4.9.3 -black==20.8b1 +black==21.6b0 bleach==3.2.1 cached-property==1.5.2 certifi==2020.6.20 @@ -42,7 +42,7 @@ mypy==0.910 packaging==20.4 parso==0.7.1 pastedeploy==2.1.1 -pathspec==0.8.0 +pathspec==0.8.1 pep517==0.10.0 pep8-naming==0.12.0 pexpect==4.8.0 diff --git a/tildes/tests/test_simplestring_field.py b/tildes/tests/test_simplestring_field.py index da675b4..4d3b0ea 100644 --- a/tildes/tests/test_simplestring_field.py +++ b/tildes/tests/test_simplestring_field.py @@ -78,13 +78,13 @@ def test_control_chars_removed(): def test_zero_width_joiners_kept_and_collapsed(): - """"Ensure that multiple zero width joiners are collapsed like spaces.""" + """Ensure that multiple zero width joiners are collapsed like spaces.""" original = "🤷\u200D\u200D\u200D♀\u200d" assert process_string(original) == "🤷\u200D♀" def test_zero_width_joiners_allowed_inside_emojis_and_not_other_words(): - """"Ensure the zero width joiner char is kept inside emojis.""" + """Ensure the zero width joiner char is kept inside emojis.""" original = "🤷\u200D♀ foo\u200dbar" assert process_string(original) == "🤷\u200D♀ foobar" diff --git a/tildes/tests/test_topic_tags.py b/tildes/tests/test_topic_tags.py index 906eb2d..2b289a0 100644 --- a/tildes/tests/test_topic_tags.py +++ b/tildes/tests/test_topic_tags.py @@ -33,6 +33,6 @@ def test_tags_lowercased(text_topic): def test_tags_synonyms(text_topic): - """ Ensure synonyms are replaced.""" + """Ensure synonyms are replaced.""" text_topic.tags = ["spoilers"] assert text_topic.tags == ["spoiler"]