From 5a6ed6591d48d634084d755f739fd4a5ac62aeb9 Mon Sep 17 00:00:00 2001 From: Bertrand Bonnefoy-Claudet Date: Sat, 10 Jan 2026 18:28:51 +0100 Subject: [PATCH] Fix formatting I somehow merged a malformatted PR earlier today. Let's fix the formatting first. --- tests/test_main.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/test_main.py b/tests/test_main.py index 17b488c4..76c1f70e 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -61,7 +61,9 @@ def test_set_key_encoding(dotenv_path): assert dotenv_path.read_text(encoding=encoding) == "a='é'\n" -@pytest.mark.skipif(os.geteuid() == 0, reason="Root user can access files even with 000 permissions.") +@pytest.mark.skipif( + os.geteuid() == 0, reason="Root user can access files even with 000 permissions." +) def test_set_key_permission_error(dotenv_path): dotenv_path.chmod(0o000) @@ -168,7 +170,9 @@ def test_unset_encoding(dotenv_path): assert dotenv_path.read_text(encoding=encoding) == "" -@pytest.mark.skipif(os.geteuid() == 0, reason="Root user can access files even with 000 permissions.") +@pytest.mark.skipif( + os.geteuid() == 0, reason="Root user can access files even with 000 permissions." +) def test_set_key_unauthorized_file(dotenv_path): dotenv_path.chmod(0o000)