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.
1 parent b85b236 commit bb87f04Copy full SHA for bb87f04
tests/cli/test_fmt.py
@@ -304,6 +304,10 @@ def test_format_config_file_missing_config(
304
"""Formatting without available config should emit an error."""
305
monkeypatch.chdir(tmp_path)
306
307
+ home_config = pathlib.Path("~/.vcspull.yaml").expanduser()
308
+ if home_config.exists():
309
+ home_config.unlink()
310
+
311
with caplog.at_level(logging.ERROR):
312
format_config_file(None, write=False, format_all=False)
313
0 commit comments