X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/07c8812937cf75ac5bc7ceac07ef5ea383f10f2f..4ca4407b4adc49b96c9536b16ed7d0a1e0b2deca:/src/black_primer/lib.py diff --git a/src/black_primer/lib.py b/src/black_primer/lib.py index 3ce383f..384c0ad 100644 --- a/src/black_primer/lib.py +++ b/src/black_primer/lib.py @@ -128,7 +128,7 @@ async def black_run( cmd.extend(["--diff", "."]) with TemporaryDirectory() as tmp_path: - # Prevent reading top-level user configs by manipulating envionment variables + # Prevent reading top-level user configs by manipulating environment variables env = { **os.environ, "XDG_CONFIG_HOME": tmp_path, # Unix-like