zulip/zerver
Prakhar Pratyush c5b3d2e434 custom_check: Add rule to avoid creating savepoints.
This commit adds a custom rule to check python files
and raise lint error if they have transaction.atomic used
without any argument or savepoint=True is used.

It helps to avoid creating unintended savepoints in the future.
2024-11-21 14:55:15 -08:00
..
actions streams: Add 'ChannelEmailAddress' model. 2024-11-21 14:53:28 -08:00
data_import data_import: Add migration status file to converted exports. 2024-11-08 15:52:45 -08:00
integration_fixtures/nagios
lib custom_check: Add rule to avoid creating savepoints. 2024-11-21 14:55:15 -08:00
management makemessages: Write with orjson. 2024-11-13 17:40:51 -08:00
migrations streams: Add 'ChannelEmailAddress' model. 2024-11-21 14:53:28 -08:00
models streams: Add 'ChannelEmailAddress' model. 2024-11-21 14:53:28 -08:00
openapi streams: Allow admins to unsubscribe others irrespective of setting. 2024-11-21 11:28:54 -08:00
tests transaction: Add 'savepoint=True' explicitly in tests, if used. 2024-11-21 14:55:15 -08:00
tornado subscription: Include archived channels in streams list. 2024-10-25 16:06:40 -07:00
transaction_tests test_user_groups: Add `durable=True` to the independent transaction. 2024-11-21 14:55:15 -08:00
views settings: Remove `invite_to_realm_policy` setting. 2024-11-20 13:35:05 -08:00
webhooks integrations: Refine Mention example screenshot. 2024-11-21 11:09:40 -08:00
worker embed_links: Add `savepoint=False` to avoid creating savepoints. 2024-11-21 14:55:15 -08:00
__init__.py
apps.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
context_processors.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
decorator.py upload: Use tusd for resumable, larger uploads. 2024-09-19 11:37:29 -07:00
filters.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
forms.py auth: Tweak invalid credentials error message. 2024-10-24 14:35:31 -07:00
logging_handlers.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
middleware.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
signals.py ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00