@@ -52,7 +52,7 @@ def _set_platform_dir_class() -> type[PlatformDirsABC]:
5252
5353def user_data_dir (
5454 appname : str | None = None ,
55- appauthor : str | None | Literal [False ] = None ,
55+ appauthor : str | Literal [False ] | None = None ,
5656 version : str | None = None ,
5757 roaming : bool = False , # noqa: FBT001, FBT002
5858 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -76,7 +76,7 @@ def user_data_dir(
7676
7777def site_data_dir (
7878 appname : str | None = None ,
79- appauthor : str | None | Literal [False ] = None ,
79+ appauthor : str | Literal [False ] | None = None ,
8080 version : str | None = None ,
8181 multipath : bool = False , # noqa: FBT001, FBT002
8282 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -100,7 +100,7 @@ def site_data_dir(
100100
101101def user_config_dir (
102102 appname : str | None = None ,
103- appauthor : str | None | Literal [False ] = None ,
103+ appauthor : str | Literal [False ] | None = None ,
104104 version : str | None = None ,
105105 roaming : bool = False , # noqa: FBT001, FBT002
106106 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -124,7 +124,7 @@ def user_config_dir(
124124
125125def site_config_dir (
126126 appname : str | None = None ,
127- appauthor : str | None | Literal [False ] = None ,
127+ appauthor : str | Literal [False ] | None = None ,
128128 version : str | None = None ,
129129 multipath : bool = False , # noqa: FBT001, FBT002
130130 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -148,7 +148,7 @@ def site_config_dir(
148148
149149def user_cache_dir (
150150 appname : str | None = None ,
151- appauthor : str | None | Literal [False ] = None ,
151+ appauthor : str | Literal [False ] | None = None ,
152152 version : str | None = None ,
153153 opinion : bool = True , # noqa: FBT001, FBT002
154154 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -172,7 +172,7 @@ def user_cache_dir(
172172
173173def site_cache_dir (
174174 appname : str | None = None ,
175- appauthor : str | None | Literal [False ] = None ,
175+ appauthor : str | Literal [False ] | None = None ,
176176 version : str | None = None ,
177177 opinion : bool = True , # noqa: FBT001, FBT002
178178 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -196,7 +196,7 @@ def site_cache_dir(
196196
197197def user_state_dir (
198198 appname : str | None = None ,
199- appauthor : str | None | Literal [False ] = None ,
199+ appauthor : str | Literal [False ] | None = None ,
200200 version : str | None = None ,
201201 roaming : bool = False , # noqa: FBT001, FBT002
202202 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -220,7 +220,7 @@ def user_state_dir(
220220
221221def user_log_dir (
222222 appname : str | None = None ,
223- appauthor : str | None | Literal [False ] = None ,
223+ appauthor : str | Literal [False ] | None = None ,
224224 version : str | None = None ,
225225 opinion : bool = True , # noqa: FBT001, FBT002
226226 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -274,7 +274,7 @@ def user_desktop_dir() -> str:
274274
275275def user_runtime_dir (
276276 appname : str | None = None ,
277- appauthor : str | None | Literal [False ] = None ,
277+ appauthor : str | Literal [False ] | None = None ,
278278 version : str | None = None ,
279279 opinion : bool = True , # noqa: FBT001, FBT002
280280 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -298,7 +298,7 @@ def user_runtime_dir(
298298
299299def site_runtime_dir (
300300 appname : str | None = None ,
301- appauthor : str | None | Literal [False ] = None ,
301+ appauthor : str | Literal [False ] | None = None ,
302302 version : str | None = None ,
303303 opinion : bool = True , # noqa: FBT001, FBT002
304304 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -322,7 +322,7 @@ def site_runtime_dir(
322322
323323def user_data_path (
324324 appname : str | None = None ,
325- appauthor : str | None | Literal [False ] = None ,
325+ appauthor : str | Literal [False ] | None = None ,
326326 version : str | None = None ,
327327 roaming : bool = False , # noqa: FBT001, FBT002
328328 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -346,7 +346,7 @@ def user_data_path(
346346
347347def site_data_path (
348348 appname : str | None = None ,
349- appauthor : str | None | Literal [False ] = None ,
349+ appauthor : str | Literal [False ] | None = None ,
350350 version : str | None = None ,
351351 multipath : bool = False , # noqa: FBT001, FBT002
352352 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -370,7 +370,7 @@ def site_data_path(
370370
371371def user_config_path (
372372 appname : str | None = None ,
373- appauthor : str | None | Literal [False ] = None ,
373+ appauthor : str | Literal [False ] | None = None ,
374374 version : str | None = None ,
375375 roaming : bool = False , # noqa: FBT001, FBT002
376376 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -394,7 +394,7 @@ def user_config_path(
394394
395395def site_config_path (
396396 appname : str | None = None ,
397- appauthor : str | None | Literal [False ] = None ,
397+ appauthor : str | Literal [False ] | None = None ,
398398 version : str | None = None ,
399399 multipath : bool = False , # noqa: FBT001, FBT002
400400 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -418,7 +418,7 @@ def site_config_path(
418418
419419def site_cache_path (
420420 appname : str | None = None ,
421- appauthor : str | None | Literal [False ] = None ,
421+ appauthor : str | Literal [False ] | None = None ,
422422 version : str | None = None ,
423423 opinion : bool = True , # noqa: FBT001, FBT002
424424 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -442,7 +442,7 @@ def site_cache_path(
442442
443443def user_cache_path (
444444 appname : str | None = None ,
445- appauthor : str | None | Literal [False ] = None ,
445+ appauthor : str | Literal [False ] | None = None ,
446446 version : str | None = None ,
447447 opinion : bool = True , # noqa: FBT001, FBT002
448448 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -466,7 +466,7 @@ def user_cache_path(
466466
467467def user_state_path (
468468 appname : str | None = None ,
469- appauthor : str | None | Literal [False ] = None ,
469+ appauthor : str | Literal [False ] | None = None ,
470470 version : str | None = None ,
471471 roaming : bool = False , # noqa: FBT001, FBT002
472472 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -490,7 +490,7 @@ def user_state_path(
490490
491491def user_log_path (
492492 appname : str | None = None ,
493- appauthor : str | None | Literal [False ] = None ,
493+ appauthor : str | Literal [False ] | None = None ,
494494 version : str | None = None ,
495495 opinion : bool = True , # noqa: FBT001, FBT002
496496 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -544,7 +544,7 @@ def user_desktop_path() -> Path:
544544
545545def user_runtime_path (
546546 appname : str | None = None ,
547- appauthor : str | None | Literal [False ] = None ,
547+ appauthor : str | Literal [False ] | None = None ,
548548 version : str | None = None ,
549549 opinion : bool = True , # noqa: FBT001, FBT002
550550 ensure_exists : bool = False , # noqa: FBT001, FBT002
@@ -568,7 +568,7 @@ def user_runtime_path(
568568
569569def site_runtime_path (
570570 appname : str | None = None ,
571- appauthor : str | None | Literal [False ] = None ,
571+ appauthor : str | Literal [False ] | None = None ,
572572 version : str | None = None ,
573573 opinion : bool = True , # noqa: FBT001, FBT002
574574 ensure_exists : bool = False , # noqa: FBT001, FBT002
0 commit comments