semgrep: Use documentation link instead of file path.

This commit is contained in:
akshatdalton 2021-06-17 13:02:52 +00:00
parent 420cf531ce
commit 8ee652e560
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ rules:
- pattern: from zerver import $X
- pattern: from analytics import $X
- pattern: from confirmation import $X
message: "Don't import models or other code in migrations; see docs/subsystems/schema-migrations.md"
message: "Don't import models or other code in migrations; see https://zulip.readthedocs.io/en/latest/subsystems/schema-migrations.html"
languages: [python]
severity: ERROR
paths: