Addition of Generative Modeling Modules for QML #51
112 errors
Pylint found 112 errors
Annotations
Check failure on line 24 in src/modules/applications/QML/generative_modeling/GenerativeModeling.py
github-actions / Pylint
src/modules/applications/QML/generative_modeling/GenerativeModeling.py#L24
Too many instance attributes (11/10) (too-many-instance-attributes, R0902)
Check failure on line 62 in src/modules/applications/QML/generative_modeling/GenerativeModeling.py
github-actions / Pylint
src/modules/applications/QML/generative_modeling/GenerativeModeling.py#L62
Parameter 'option' has been renamed to 'data_option' in overriding 'GenerativeModeling.get_default_submodule' method (arguments-renamed, W0237)
Check failure on line 16 in src/modules/applications/QML/generative_modeling/GenerativeModeling.py
github-actions / Pylint
src/modules/applications/QML/generative_modeling/GenerativeModeling.py#L16
Standard import "from typing import Union" should be placed before "from utils import start_time_measurement, end_time_measurement" (wrong-import-order, C0411)
Check failure on line 74 in src/modules/applications/QML/transformations/PIT.py
github-actions / Pylint
src/modules/applications/QML/transformations/PIT.py#L74
Line too long (135/120) (line-too-long, C0301)
Check failure on line 65 in src/modules/applications/QML/transformations/PIT.py
github-actions / Pylint
src/modules/applications/QML/transformations/PIT.py#L65
Parameter 'option' has been renamed to 'circuit_option' in overriding 'PIT.get_default_submodule' method (arguments-renamed, W0237)
Check failure on line 72 in src/modules/applications/QML/transformations/PIT.py
github-actions / Pylint
src/modules/applications/QML/transformations/PIT.py#L72
Number of parameters was 2 in 'Transformation.transform' and is now 3 in overriding 'PIT.transform' method (arguments-differ, W0221)
Check failure on line 205 in src/modules/applications/QML/transformations/PIT.py
github-actions / Pylint
src/modules/applications/QML/transformations/PIT.py#L205
Method 'emp_integral_trans' should have "self" as first argument (no-self-argument, E0213)
Check failure on line 208 in src/modules/applications/QML/transformations/PIT.py
github-actions / Pylint
src/modules/applications/QML/transformations/PIT.py#L208
Redefining built-in 'len' (redefined-builtin, W0622)
Check failure on line 207 in src/modules/applications/QML/transformations/PIT.py
github-actions / Pylint
src/modules/applications/QML/transformations/PIT.py#L207
Instance of 'PIT' has no 'argsort' member (no-member, E1101)
Check failure on line 208 in src/modules/applications/QML/transformations/PIT.py
github-actions / Pylint
src/modules/applications/QML/transformations/PIT.py#L208
Instance of 'PIT' has no 'size' member (no-member, E1101)
Check failure on line 83 in src/modules/applications/QML/transformations/PIT.py
github-actions / Pylint
src/modules/applications/QML/transformations/PIT.py#L83
Attribute 'dataset_name' defined outside __init__ (attribute-defined-outside-init, W0201)
Check failure on line 84 in src/modules/applications/QML/transformations/PIT.py
github-actions / Pylint
src/modules/applications/QML/transformations/PIT.py#L84
Attribute 'dataset' defined outside __init__ (attribute-defined-outside-init, W0201)
Check failure on line 85 in src/modules/applications/QML/transformations/PIT.py
github-actions / Pylint
src/modules/applications/QML/transformations/PIT.py#L85
Attribute 'n_qubits' defined outside __init__ (attribute-defined-outside-init, W0201)
Check failure on line 86 in src/modules/applications/QML/transformations/PIT.py
github-actions / Pylint
src/modules/applications/QML/transformations/PIT.py#L86
Attribute 'grid_shape' defined outside __init__ (attribute-defined-outside-init, W0201)
Check failure on line 96 in src/modules/applications/QML/transformations/PIT.py
github-actions / Pylint
src/modules/applications/QML/transformations/PIT.py#L96
Attribute 'histogram_train_original' defined outside __init__ (attribute-defined-outside-init, W0201)
Check failure on line 101 in src/modules/applications/QML/transformations/PIT.py
github-actions / Pylint
src/modules/applications/QML/transformations/PIT.py#L101
Attribute 'histogram_train' defined outside __init__ (attribute-defined-outside-init, W0201)
Check failure on line 106 in src/modules/applications/QML/transformations/Transformation.py
github-actions / Pylint
src/modules/applications/QML/transformations/Transformation.py#L106
Line too long (121/120) (line-too-long, C0301)
Check failure on line 66 in src/modules/applications/QML/transformations/Transformation.py
github-actions / Pylint
src/modules/applications/QML/transformations/Transformation.py#L66
Too many positional arguments for method call (too-many-function-args, E1121)
Check failure on line 84 in src/modules/applications/QML/transformations/Transformation.py
github-actions / Pylint
src/modules/applications/QML/transformations/Transformation.py#L84
Assigning result of a function call, where the function returns None (assignment-from-none, E1128)
Check failure on line 75 in src/modules/applications/QML/transformations/MinMax.py
github-actions / Pylint
src/modules/applications/QML/transformations/MinMax.py#L75
Line too long (138/120) (line-too-long, C0301)
Check failure on line 24 in src/modules/applications/QML/transformations/MinMax.py
github-actions / Pylint
src/modules/applications/QML/transformations/MinMax.py#L24
Too many instance attributes (11/10) (too-many-instance-attributes, R0902)
Check failure on line 53 in src/modules/applications/QML/transformations/MinMax.py
github-actions / Pylint
src/modules/applications/QML/transformations/MinMax.py#L53
Parameter 'option' has been renamed to 'circuit_option' in overriding 'MinMax.get_default_submodule' method (arguments-renamed, W0237)
Check failure on line 73 in src/modules/applications/QML/transformations/MinMax.py
github-actions / Pylint
src/modules/applications/QML/transformations/MinMax.py#L73
Number of parameters was 2 in 'Transformation.transform' and is now 3 in overriding 'MinMax.transform' method (arguments-differ, W0221)
Check failure on line 84 in src/modules/applications/QML/transformations/MinMax.py
github-actions / Pylint
src/modules/applications/QML/transformations/MinMax.py#L84
Attribute 'dataset_name' defined outside __init__ (attribute-defined-outside-init, W0201)
Check failure on line 85 in src/modules/applications/QML/transformations/MinMax.py
github-actions / Pylint
src/modules/applications/QML/transformations/MinMax.py#L85
Attribute 'dataset' defined outside __init__ (attribute-defined-outside-init, W0201)