Skip to content

Complete partially typed signatures (monai.utils)#5891

Merged
wyli merged 5 commits intoProject-MONAI:devfrom
f-schnabel:feature/disallow_incomplete_defs_utils
Jan 23, 2023
Merged

Complete partially typed signatures (monai.utils)#5891
wyli merged 5 commits intoProject-MONAI:devfrom
f-schnabel:feature/disallow_incomplete_defs_utils

Conversation

@f-schnabel
Copy link
Copy Markdown
Contributor

@f-schnabel f-schnabel commented Jan 23, 2023

Part of #5884.

Description

Fully type annotate any functions with at least one type annotation in
module visualize

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.

@f-schnabel
Copy link
Copy Markdown
Contributor Author

f-schnabel commented Jan 23, 2023

CI failed, because python Literals were introduced in 3.8, but I'm using them inside the code.
See also: https://peps.python.org/pep-0586/

@f-schnabel f-schnabel force-pushed the feature/disallow_incomplete_defs_utils branch from 4d3f956 to 43ecc34 Compare January 23, 2023 17:12
@f-schnabel f-schnabel force-pushed the feature/disallow_incomplete_defs_utils branch from 076881d to a3e70e6 Compare January 23, 2023 17:45
@wyli
Copy link
Copy Markdown
Contributor

wyli commented Jan 23, 2023

/build

@wyli wyli enabled auto-merge (squash) January 23, 2023 20:17
@wyli wyli merged commit a5a3e4e into Project-MONAI:dev Jan 23, 2023
@f-schnabel f-schnabel deleted the feature/disallow_incomplete_defs_utils branch March 2, 2023 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants