Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixup mypy 1.7.0 errors #7231

Merged
merged 4 commits into from
Nov 16, 2023

Conversation

Shadow-Devil
Copy link
Contributor

Fixes #7230.

Description

Fix the typing issues and the deprecation.

Also always run type checking with Linux environment, since ForkServerContext is not available on Windows.

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).

Copy link
Contributor

@KumoLiu KumoLiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pr, LGTM.

setup.cfg Outdated Show resolved Hide resolved
setup.cfg Show resolved Hide resolved
Shadow-Devil and others added 4 commits November 15, 2023 19:49
Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
@KumoLiu
Copy link
Contributor

KumoLiu commented Nov 16, 2023

Hi @ericspod, do you have any other comments on this PR otherwise I think we could merge this one first to avoid ci broken in other PRs. Thanks!
https://github.com/Project-MONAI/MONAI/actions/runs/6880858018/job/18715951563?pr=7234#step:7:363

@Nic-Ma
Copy link
Contributor

Nic-Ma commented Nov 16, 2023

/build

Copy link
Member

@ericspod ericspod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ericspod ericspod merged commit 755128b into Project-MONAI:dev Nov 16, 2023
28 checks passed
marksgraham pushed a commit to marksgraham/MONAI that referenced this pull request Jan 30, 2024
Fixes Project-MONAI#7230.

### Description

Fix the typing issues and the deprecation.

Also always run type checking with Linux environment, since
ForkServerContext is not available on Windows.

### Types of changes
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).

---------

Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
Signed-off-by: Mark Graham <markgraham539@gmail.com>
juampatronics pushed a commit to juampatronics/MONAI that referenced this pull request Mar 25, 2024
Fixes Project-MONAI#7230.

### Description

Fix the typing issues and the deprecation.

Also always run type checking with Linux environment, since
ForkServerContext is not available on Windows.

### Types of changes
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).

---------

Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
Signed-off-by: Juan Pablo de la Cruz Gutiérrez <juampatronics@gmail.com>
Yu0610 pushed a commit to Yu0610/MONAI that referenced this pull request Apr 11, 2024
Fixes Project-MONAI#7230.

### Description

Fix the typing issues and the deprecation.

Also always run type checking with Linux environment, since
ForkServerContext is not available on Windows.

### Types of changes
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).

---------

Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
Signed-off-by: Yu0610 <612410030@alum.ccu.edu.tw>
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.

MyPy 1.7.0 typing errors
4 participants