mirror of https://github.com/zulip/zulip.git
semgrep: Use documentation link instead of file path.
This commit is contained in:
parent
420cf531ce
commit
8ee652e560
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue