actions: Split out zerver.actions.bots.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit ec174dfb47)
This commit is contained in:
Anders Kaseorg
2022-04-14 14:55:07 -07:00
committed by Tim Abbott
parent 3bb3a415a8
commit f4fe1660f3
6 changed files with 239 additions and 228 deletions

View File

@@ -257,7 +257,7 @@ python_rules = RuleList(
"description": "Always pass update_fields when saving user_profile objects",
"exclude_line": {
(
"zerver/lib/actions.py",
"zerver/actions/bots.py",
"user_profile.save() # Can't use update_fields because of how the foreign key works.",
),
},