@@ -81,7 +81,7 @@ def print_version(ctx: click.Context, param: click.Parameter, value: bool) -> No
81
81
"--reload-dir" ,
82
82
"reload_dirs" ,
83
83
multiple = True ,
84
- help = "Set reload directories explicitly, instead of using the current working" " directory." ,
84
+ help = "Set reload directories explicitly, instead of using the current working directory." ,
85
85
type = click .Path (exists = True ),
86
86
)
87
87
@click .option (
@@ -106,7 +106,7 @@ def print_version(ctx: click.Context, param: click.Parameter, value: bool) -> No
106
106
type = float ,
107
107
default = 0.25 ,
108
108
show_default = True ,
109
- help = "Delay between previous and next check if application needs to be." " Defaults to 0.25s." ,
109
+ help = "Delay between previous and next check if application needs to be. Defaults to 0.25s." ,
110
110
)
111
111
@click .option (
112
112
"--workers" ,
@@ -222,7 +222,7 @@ def print_version(ctx: click.Context, param: click.Parameter, value: bool) -> No
222
222
"--proxy-headers/--no-proxy-headers" ,
223
223
is_flag = True ,
224
224
default = True ,
225
- help = "Enable/Disable X-Forwarded-Proto, X-Forwarded-For, X-Forwarded-Port to " " populate remote address info." ,
225
+ help = "Enable/Disable X-Forwarded-Proto, X-Forwarded-For, X-Forwarded-Port to populate remote address info." ,
226
226
)
227
227
@click .option (
228
228
"--server-header/--no-server-header" ,
@@ -255,7 +255,7 @@ def print_version(ctx: click.Context, param: click.Parameter, value: bool) -> No
255
255
"--limit-concurrency" ,
256
256
type = int ,
257
257
default = None ,
258
- help = "Maximum number of concurrent connections or tasks to allow, before issuing" " HTTP 503 responses." ,
258
+ help = "Maximum number of concurrent connections or tasks to allow, before issuing HTTP 503 responses." ,
259
259
)
260
260
@click .option (
261
261
"--backlog" ,
@@ -565,7 +565,7 @@ def run(
565
565
566
566
if (config .reload or config .workers > 1 ) and not isinstance (app , str ):
567
567
logger = logging .getLogger ("uvicorn.error" )
568
- logger .warning ("You must pass the application as an import string to enable 'reload' or " " 'workers'." )
568
+ logger .warning ("You must pass the application as an import string to enable 'reload' or 'workers'." )
569
569
sys .exit (1 )
570
570
571
571
try :
0 commit comments