We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#\r
1 parent 2f7e323 commit 903bef5Copy full SHA for 903bef5
scripts/fuzz.py
@@ -38,6 +38,11 @@
38
def test_idempotent_any_syntatically_valid_python(
39
src_contents: str, mode: black.FileMode
40
) -> None:
41
+ if (
42
+ "#\r" in src_contents or "\\\n" in src_contents
43
+ ) and black.Preview.normalize_cr_newlines not in mode:
44
+ return
45
+
46
# Before starting, let's confirm that the input string is valid Python:
47
compile(src_contents, "<string>", "exec") # else the bug is in hypothesmith
48
0 commit comments