I want to run two actions whenever I save a Python file in PyCharm: first format the file with Black and then check its code style with Flake8.
I am doing this by setting up Black and Flake8 within PyCharm's File Watchers. This works, but Black and Flake8 appear to be run asynchronously, so I end up getting false positive warnings from Flake8 (style violations that have been corrected by Black).
How do I run the file watchers in sequence or trigger Flake8 to run once Black has finished?