From 4c4a1fcca878ff1efc887cb8413463f11afa4ccb Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Sun, 23 Jan 2022 22:37:32 +0300 Subject: [PATCH 1/2] Use `magic_trailing_comma` for `FileMode` in `fuzz` --- fuzz.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fuzz.py b/fuzz.py index a9ca8eff8b0..11f56afd4b1 100644 --- a/fuzz.py +++ b/fuzz.py @@ -33,6 +33,7 @@ line_length=st.just(88) | st.integers(0, 200), string_normalization=st.booleans(), is_pyi=st.booleans(), + magic_trailing_comma=st.booleans(), ), ) def test_idempotent_any_syntatically_valid_python( From 4b4901052b307ee3b4e9b984ad5662cbbf8d2b21 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Sun, 23 Jan 2022 22:51:09 +0300 Subject: [PATCH 2/2] Update fuzz.py Co-authored-by: Jelle Zijlstra --- fuzz.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fuzz.py b/fuzz.py index 11f56afd4b1..09a86a2f571 100644 --- a/fuzz.py +++ b/fuzz.py @@ -32,6 +32,7 @@ black.FileMode, line_length=st.just(88) | st.integers(0, 200), string_normalization=st.booleans(), + preview=st.booleans(), is_pyi=st.booleans(), magic_trailing_comma=st.booleans(), ),