mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 20:13:46 +00:00 
			
		
		
		
	mypy: Remove no_implicit_reexport override.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						 Anders Kaseorg
						Anders Kaseorg
					
				
			
			
				
	
			
			
			
						parent
						
							b6cce494a8
						
					
				
				
					commit
					ddba558f1d
				
			| @@ -44,10 +44,6 @@ local_partial_types = true | |||||||
|  |  | ||||||
| plugins = ["mypy_django_plugin.main", "pydantic.mypy"] | plugins = ["mypy_django_plugin.main", "pydantic.mypy"] | ||||||
|  |  | ||||||
| [[tool.mypy.overrides]] |  | ||||||
| module = ["zproject.configured_settings", "zproject.settings", "zproject.default_settings"] |  | ||||||
| no_implicit_reexport = false |  | ||||||
|  |  | ||||||
| [[tool.mypy.overrides]] | [[tool.mypy.overrides]] | ||||||
| module = [ | module = [ | ||||||
|     "ahocorasick.*", |     "ahocorasick.*", | ||||||
| @@ -147,6 +143,7 @@ ignore = [ | |||||||
|     "N802", # Function name should be lowercase |     "N802", # Function name should be lowercase | ||||||
|     "N806", # Variable in function should be lowercase |     "N806", # Variable in function should be lowercase | ||||||
|     "PERF203", # `try`-`except` within a loop incurs performance overhead |     "PERF203", # `try`-`except` within a loop incurs performance overhead | ||||||
|  |     "PLC0414", # Import alias does not rename original package | ||||||
|     "PLC1901", # `s == ""` can be simplified to `not s` as an empty string is falsey |     "PLC1901", # `s == ""` can be simplified to `not s` as an empty string is falsey | ||||||
|     "PLR0911", # Too many return statements |     "PLR0911", # Too many return statements | ||||||
|     "PLR0912", # Too many branches |     "PLR0912", # Too many branches | ||||||
|   | |||||||
| @@ -11,14 +11,14 @@ from zerver.lib.db import TimeTrackingConnection, TimeTrackingCursor | |||||||
|  |  | ||||||
| from .config import ( | from .config import ( | ||||||
|     DEPLOY_ROOT, |     DEPLOY_ROOT, | ||||||
|     DEVELOPMENT, |  | ||||||
|     PRODUCTION, |  | ||||||
|     config_file, |     config_file, | ||||||
|     get_config, |     get_config, | ||||||
|     get_from_file_if_exists, |     get_from_file_if_exists, | ||||||
|     get_mandatory_secret, |     get_mandatory_secret, | ||||||
|     get_secret, |     get_secret, | ||||||
| ) | ) | ||||||
|  | from .config import DEVELOPMENT as DEVELOPMENT | ||||||
|  | from .config import PRODUCTION as PRODUCTION | ||||||
| from .configured_settings import ( | from .configured_settings import ( | ||||||
|     ADMINS, |     ADMINS, | ||||||
|     ALLOWED_HOSTS, |     ALLOWED_HOSTS, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user