We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9b1bd4 commit 0b42e54Copy full SHA for 0b42e54
.isort.cfg
@@ -2,4 +2,4 @@
2
profile=hug
3
src_paths=isort,test
4
skip=tests/unit/example_crlf_file.py
5
-float_to_top=true
+
tests/unit/test_main.py
@@ -444,13 +444,13 @@ def function():
444
pass
445
"""
446
)
447
-
448
python_file.write(test_input)
449
main.main([str(python_file), "--dont-float-to-top"])
450
_, error = capsys.readouterr()
451
assert not error
452
assert python_file.read_text(encoding="utf8") == test_input
453
454
with pytest.raises(SystemExit):
455
main.main([str(python_file), "--float-to-top", "--dont-float-to-top"])
456
0 commit comments