Opengrep (open-source Semgrep alternative) in v1.31.0 released
Search
2 results for “SecMG”
-
me: don't use 'cast' in Python. It bypasses mypy. It should be a last resort. Use TypeIs and such instead
them: No, the use of cast here is fine
me: It's really not. Here's a bunch of literature backing me up.
them: nah, I'm not reading that, it's fine.Oh? Well. Here's a semgrep rule that will stop you from ever trying this again.
(it was an SE1 that was arguing with me)