mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	python: Sort imports with isort.
Fixes #2665. Regenerated by tabbott with `lint --fix` after a rebase and change in parameters. Note from tabbott: In a few cases, this converts technical debt in the form of unsorted imports into different technical debt in the form of our largest files having very long, ugly import sequences at the start. I expect this change will increase pressure for us to split those files, which isn't a bad thing. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							b666aef2d3
						
					
				
				
					commit
					365fe0b3d5
				
			@@ -1,19 +1,27 @@
 | 
			
		||||
from typing import Any, Iterable, List, Mapping, Set, Tuple, Optional, Union
 | 
			
		||||
from typing import Any, Iterable, List, Mapping, Optional, Set, Tuple, Union
 | 
			
		||||
 | 
			
		||||
from django.utils.translation import ugettext as _
 | 
			
		||||
from django.conf import settings
 | 
			
		||||
from django.db.models.query import QuerySet
 | 
			
		||||
from django.utils.translation import ugettext as _
 | 
			
		||||
 | 
			
		||||
from zerver.lib.bugdown import convert as bugdown_convert
 | 
			
		||||
from zerver.lib.request import JsonableError
 | 
			
		||||
from zerver.models import (
 | 
			
		||||
    UserProfile, Stream, Subscription, Realm, Recipient, get_stream,
 | 
			
		||||
    bulk_get_streams, get_realm_stream, DefaultStreamGroup, get_stream_by_id_in_realm,
 | 
			
		||||
    is_cross_realm_bot_email, active_non_guest_user_ids,
 | 
			
		||||
    DefaultStreamGroup,
 | 
			
		||||
    Realm,
 | 
			
		||||
    Recipient,
 | 
			
		||||
    Stream,
 | 
			
		||||
    Subscription,
 | 
			
		||||
    UserProfile,
 | 
			
		||||
    active_non_guest_user_ids,
 | 
			
		||||
    bulk_get_streams,
 | 
			
		||||
    get_realm_stream,
 | 
			
		||||
    get_stream,
 | 
			
		||||
    get_stream_by_id_in_realm,
 | 
			
		||||
    is_cross_realm_bot_email,
 | 
			
		||||
)
 | 
			
		||||
from zerver.lib.bugdown import convert as bugdown_convert
 | 
			
		||||
from zerver.tornado.event_queue import send_event
 | 
			
		||||
 | 
			
		||||
from django.db.models.query import QuerySet
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def get_default_value_for_history_public_to_subscribers(
 | 
			
		||||
        realm: Realm,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user