RUF001
This commit is contained in:
parent
54b242fe9c
commit
288c42f392
|
@ -89,6 +89,7 @@ markers = [
|
|||
|
||||
[tool.ruff]
|
||||
exclude = ["scripts/tests"]
|
||||
external = ["FURB123"]
|
||||
flake8-annotations = {"allow-star-arg-any" = true, "suppress-dummy-args" = true}
|
||||
flake8-pytest-style = {"parametrize-values-type" = "tuple", "mark-parentheses" = false}
|
||||
format = "grouped"
|
||||
|
|
|
@ -427,8 +427,8 @@ def test_multilevel_folder_scheme(
|
|||
("test", "test"),
|
||||
("😍", "😍"),
|
||||
("test😍", "test😍"),
|
||||
("test😍 ’", "test😍 ’"),
|
||||
("test😍 \\u2019", "test😍 ’"),
|
||||
("test😍 ’", "test😍 ’"), # noqa: RUF001
|
||||
("test😍 \\u2019", "test😍 ’"), # noqa: RUF001
|
||||
("Using that real good [1\\4]", "Using that real good [1\\4]"),
|
||||
),
|
||||
)
|
||||
|
@ -442,8 +442,8 @@ def test_preserve_emojis(test_name_string: str, expected: str, submission: Magic
|
|||
@pytest.mark.parametrize(
|
||||
("test_string", "expected"),
|
||||
(
|
||||
("test \\u2019", "test ’"),
|
||||
("My cat\\u2019s paws are so cute", "My cat’s paws are so cute"),
|
||||
("test \\u2019", "test ’"), # noqa: RUF001
|
||||
("My cat\\u2019s paws are so cute", "My cat’s paws are so cute"), # noqa: RUF001
|
||||
),
|
||||
)
|
||||
def test_convert_unicode_escapes(test_string: str, expected: str):
|
||||
|
|
Loading…
Reference in a new issue