mirror of
https://gitlab.com/tildes/tildes.git
synced 2026-04-16 06:18:34 +02:00
Update Black to 21.6b0
This found a few docstrings that I had messed up.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user