Skip to content

Commit 0b42e54

Browse files
committedNov 30, 2020
Formatting fixes
1 parent e9b1bd4 commit 0b42e54

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎.isort.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
profile=hug
33
src_paths=isort,test
44
skip=tests/unit/example_crlf_file.py
5-
float_to_top=true
5+

‎tests/unit/test_main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -444,13 +444,13 @@ def function():
444444
pass
445445
"""
446446
)
447-
447+
448448
python_file.write(test_input)
449449
main.main([str(python_file), "--dont-float-to-top"])
450450
_, error = capsys.readouterr()
451451
assert not error
452452
assert python_file.read_text(encoding="utf8") == test_input
453-
453+
454454
with pytest.raises(SystemExit):
455455
main.main([str(python_file), "--float-to-top", "--dont-float-to-top"])
456456

0 commit comments

Comments
 (0)
Please sign in to comment.