fix: semgrep's split translation regex

This commit is contained in:
leela 2021-05-03 06:25:57 +05:30
parent a8f74d9471
commit 0a1902e650

View file

@ -42,7 +42,7 @@ rules:
- id: frappe-translation-python-splitting
pattern-either:
- pattern: _(...) + ... + _(...)
- pattern: _(...) + _(...)
- pattern: _("..." + "...")
- pattern-regex: '_\([^\)]*\\\s*'
message: |