Skip to content

Commit dac7c8a

Browse files
isidore4dsherwoodsusanfungblade290Tegsy
committed
. t fixed 2 whitespace tests
if you are editing these tests AND Black is on then you need to make sure the configuration is turned on Co-Authored-By: 4dsherwood <4dsherwood@users.noreply.github.com> Co-Authored-By: Susan Fung <38925660+susanfung@users.noreply.github.com> Co-Authored-By: blade290 <43077216+blade290@users.noreply.github.com> Co-Authored-By: T. E. Green <78671457+Tegsy@users.noreply.github.com>
1 parent ec244b9 commit dac7c8a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_inline_approvals.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,24 +164,24 @@ def test_with_labeled_input_inline(self) -> None:
164164
def get_preceding_whitespace():
165165
return " 4 whitespaces"
166166

167-
167+
# fmt: off
168168
def test_preceding_whitespace():
169169
"""
170-
4 whitespaces
170+
4 whitespaces
171171
"""
172172
verify(get_preceding_whitespace(), options=Options().inline(show_code=True))
173173

174174

175175
def test_trailing_whitespace():
176176
"""
177-
4 trailing whitespaces
177+
4 trailing whitespaces
178178
"""
179179
# Note: Pycharm will remove the trailing whitespaces, to disable this go to:
180180
# File -> Settings -> Editor -> General -> On Save -> [ ] Remove trailing spaces
181181
verify("4 trailing whitespaces ", options=Options().inline(show_code=False))
182182

183+
# fmt: on
183184

184-
# 2. [ ] fix inline bug with blank lines <- from todo list
185185
def test_bug_blank_lines():
186186
"""
187187

0 commit comments

Comments
 (0)