Skip to content

mypy issue on master #2713

@vfdev-5

Description

@vfdev-5
Run bash ./tests/run_code_style.sh mypy
+ '[' mypy = lint ']'
+ '[' mypy = fmt ']'
+ '[' mypy = mypy ']'
+ mypy --config-file mypy.ini
ignite/distributed/comp_models/native.py:125: error: Argument 3 to
"init_process_group" has incompatible type "**Dict[str, int]"; expected
"timedelta"  [arg-type]
    ...init_process_group(backend, init_method=init_method, **init_pg_kwargs)
                                                              ^
ignite/distributed/comp_models/native.py:125: error: Argument 3 to
"init_process_group" has incompatible type "**Dict[str, int]"; expected
"Optional[Store]"  [arg-type]
    ...init_process_group(backend, init_method=init_method, **init_pg_kwargs)
                                                              ^
ignite/distributed/comp_models/native.py:125: error: Argument 3 to
"init_process_group" has incompatible type "**Dict[str, int]"; expected "str" 
[arg-type]
    ...init_process_group(backend, init_method=init_method, **init_pg_kwargs)
                                                              ^
Found 3 errors in 1 file (checked 103 source files)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions