File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ def publish(dry_run: bool) -> None:
342
342
"--access" ,
343
343
"public" ,
344
344
external = True ,
345
- env = {"NODE_AUTH_TOKEN" : node_auth_token }, # type: ignore[dict-item]
345
+ env = {"NODE_AUTH_TOKEN" : node_auth_token },
346
346
)
347
347
348
348
return publish
@@ -372,7 +372,7 @@ def publish(dry_run: bool):
372
372
"twine" ,
373
373
"upload" ,
374
374
"dist/*" ,
375
- env = {"TWINE_USERNAME" : twine_username , "TWINE_PASSWORD" : twine_password }, # type: ignore[dict-item]
375
+ env = {"TWINE_USERNAME" : twine_username , "TWINE_PASSWORD" : twine_password },
376
376
)
377
377
378
378
return publish
@@ -473,8 +473,8 @@ def get_current_tags(session: Session) -> list[TagInfo]:
473
473
parsed_tags .append (
474
474
TagInfo (
475
475
tag ,
476
- match ["name" ],
477
- match ["version" ],
476
+ match ["name" ], # type: ignore[index]
477
+ match ["version" ], # type: ignore[index]
478
478
)
479
479
)
480
480
@@ -489,7 +489,7 @@ class TagInfo(NamedTuple):
489
489
version : str
490
490
491
491
492
- def get_reactpy_package_version (session : Session ) -> str :
492
+ def get_reactpy_package_version (session : Session ) -> str : # type: ignore[return]
493
493
pkg_root_init_file = REACTPY_DIR / "__init__.py"
494
494
for line in pkg_root_init_file .read_text ().split ("\n " ):
495
495
if line .startswith ('__version__ = "' ) and line .endswith ('" # DO NOT MODIFY' ):
You can’t perform that action at this time.
0 commit comments