When opening a file with unresolved merge conflicts in it, Emacs enable smerge-mode by default along with other modes (in this case Python mode + EGlot and friends). This triggers Flymake to run as well which complains about the merge conflict headers added by the source control or diff tool.
When disabling flymake the errors naturally disappears
However, when enabling flymake again, it shows no syntax errors. Just a 'Wait'. Maybe flymake is aware of smerge-mode or similar after it has been enabled?
Have anyone configured their Emacs in such a way to disable flymake-mode when visiting a file with merge conflics (smerge-mode) and 'heavy' modes like eglot, or do you know if flymake is smart enough to detect this?
I have experimented with some elisp to detect smerge-mode on different hooks and disable flymake accordingly, but it leaves the buffer face 'dirty/damaged' with flymakes error marks around the text.