Closed juliangilbey closed 2 years ago
Hey @juliangilbey, thanks for reporting. This is a duplicate of issue #17609 and it'll be fixed in our next version (5.3.1), to be released in mid May.
Amazing, thanks! Sorry I didn't spot the other issue when I searched.
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
I installed Spyder on a Mac using the Spyder.dmg on GitHub. I reset all of the preferences (spyder --reset). I set the preferences to enable code style linting and autoformat files on save with black. I opened a new file (which appears with standard Spyder boilerplate at the top) and saved it unchanged to my Downloads folder. I then added a blank line at the end, typed command-S, and Spyder just sat there attempting to save the file (showing a little twirling dots icon at the top right of the editing window). It did not actually save the file, and the only ways I've found to stop it are to quite Spyder or to close the file window.
If I use autopep8 instead, it saves (and autoformats) with no problems.
No error messages are written to the terminal if I start Spyder from a command line.
What steps reproduce the problem?
(See the description above)
Versions
Dependencies