I have run all of the following:
(setq python-indent-offset 4)
(add-to-list 'copilot-indentation-alist '(prog-mode 4))
(add-to-list 'copilot-indentation-alist '(python-mode 4))
(setq-default indent-tabs-mode nil)
(My tab-width variable is set to 8, and that is where I want to keep it. Since I don't want TABs in my Python code, at all, this setting should not matter.)
To no avail: all the code that Copilot proposes still uses an 8-space indentation.
What else must I do to get Copilot to use 4-spaces/level for indenting Python code?