Tech recruiter here from Switzerland.
Most non-competes that I saw are invalid because they contradict with local laws.
Firms put them anyway to scare candidates. In reality, they never hold.
I made even a video about it to calm down applicants: https://www.youtube.com/watch?v=st7JaIdLJ4w