Skip to content

Commit 04c3e9f

Browse files
committed
fix types
1 parent 6e7fa1b commit 04c3e9f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

noxfile.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def publish(dry_run: bool) -> None:
342342
"--access",
343343
"public",
344344
external=True,
345-
env={"NODE_AUTH_TOKEN": node_auth_token}, # type: ignore[dict-item]
345+
env={"NODE_AUTH_TOKEN": node_auth_token},
346346
)
347347

348348
return publish
@@ -372,7 +372,7 @@ def publish(dry_run: bool):
372372
"twine",
373373
"upload",
374374
"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},
376376
)
377377

378378
return publish
@@ -473,8 +473,8 @@ def get_current_tags(session: Session) -> list[TagInfo]:
473473
parsed_tags.append(
474474
TagInfo(
475475
tag,
476-
match["name"],
477-
match["version"],
476+
match["name"], # type: ignore[index]
477+
match["version"], # type: ignore[index]
478478
)
479479
)
480480

@@ -489,7 +489,7 @@ class TagInfo(NamedTuple):
489489
version: str
490490

491491

492-
def get_reactpy_package_version(session: Session) -> str:
492+
def get_reactpy_package_version(session: Session) -> str: # type: ignore[return]
493493
pkg_root_init_file = REACTPY_DIR / "__init__.py"
494494
for line in pkg_root_init_file.read_text().split("\n"):
495495
if line.startswith('__version__ = "') and line.endswith('" # DO NOT MODIFY'):

0 commit comments

Comments
 (0)