bugbear21.4.3

B003 Assigning to os.environ doesn't clear the environment

Assigning to os.environ doesn't clear the environment. Subprocesses are going to see outdated variables, in disagreement with the current process. Use os.environ.clear() or the env= argument to Popen.