feat: generate the stub file for dynamic methods in System #14
Annotations
10 errors
pyright:
dpdata/__init__.py#L8
Import "._version" could not be resolved (reportMissingImports)
|
pyright:
dpdata/ase_calculator.py#L60
Cannot access attribute "data" for class "LabeledSystem"
Attribute "data" is unknown (reportAttributeAccessIssue)
|
pyright:
dpdata/cli.py#L7
"__version__" is unknown import symbol (reportAttributeAccessIssue)
|
pyright:
dpdata/data_type.py#L99
Cannot access attribute "data" for class "System"
Attribute "data" is unknown (reportAttributeAccessIssue)
|
pyright:
dpdata/data_type.py#L100
Cannot access attribute "data" for class "System"
Attribute "data" is unknown (reportAttributeAccessIssue)
|
pyright:
dpdata/stat.py#L161
Cannot access attribute "systems" for class "SYSTEM_TYPE"
Attribute "systems" is unknown (reportAttributeAccessIssue)
|
pyright:
dpdata/stat.py#L174
Cannot access attribute "systems" for class "SYSTEM_TYPE"
Attribute "systems" is unknown (reportAttributeAccessIssue)
|
pyright:
dpdata/system.py#L224
Argument of type "Self@System" cannot be assigned to parameter "system" of type "System" in function "check"
"System*" is incompatible with "System" (reportArgumentType)
|
pyright:
dpdata/system.py#L1544
No parameter named "type_map" (reportCallIssue)
|
pyright:
dpdata/system.py#L1546
Argument of type "LabeledSystem" cannot be assigned to parameter "systems" of type "System | MultiSystems" in function "append"
Type "LabeledSystem" is incompatible with type "System | MultiSystems"
"LabeledSystem" is incompatible with "System"
"LabeledSystem" is incompatible with "MultiSystems" (reportArgumentType)
|