Skip to content

Fix missing type annotations#5655

Merged
wyli merged 4 commits into
Project-MONAI:devfrom
f-schnabel:fix_type_annotations
Dec 5, 2022
Merged

Fix missing type annotations#5655
wyli merged 4 commits into
Project-MONAI:devfrom
f-schnabel:fix_type_annotations

Conversation

@f-schnabel

Copy link
Copy Markdown
Contributor

Fixes #5605.

Description

Fix missing type annotations so ./runtests.sh --mypy now finds 0 warnings.

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

f-schnabel and others added 3 commits December 5, 2022 15:57
mypy now runs with 0 issues found.

Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
@f-schnabel
f-schnabel force-pushed the fix_type_annotations branch from 92b5a98 to f368bd3 Compare December 5, 2022 14:57
@f-schnabel
f-schnabel marked this pull request as ready for review December 5, 2022 15:03
@f-schnabel
f-schnabel marked this pull request as draft December 5, 2022 15:05
Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
@f-schnabel
f-schnabel marked this pull request as ready for review December 5, 2022 16:12
@wyli

wyli commented Dec 5, 2022

Copy link
Copy Markdown
Contributor

/build

@f-schnabel f-schnabel changed the title [WIP] Fix missing type annotations Fix missing type annotations Dec 5, 2022
@wyli
wyli enabled auto-merge (squash) December 5, 2022 16:41
@wyli
wyli merged commit f380cf2 into Project-MONAI:dev Dec 5, 2022
@f-schnabel
f-schnabel deleted the fix_type_annotations branch December 7, 2022 10:57
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.

fixes the missing type annotations

2 participants