Skip to content

Run build command in github.workspace #28

Run build command in github.workspace

Run build command in github.workspace #28

GitHub Actions / pylint succeeded Nov 25, 2023 in 1s

reviewdog [pylint] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (9257)

onnxruntime/python/backend/backend.py|127 col 21| E0001: Parsing failed: 'expected an indented block after 'else' statement on line 126 (, line 127)' (syntax-error)
cgmanifests/generate_cgmanifest.py|30| C0103: Constant name "package_name" doesn't conform to UPPER_CASE naming style (invalid-name)
cgmanifests/generate_cgmanifest.py|31| C0103: Constant name "package_filename" doesn't conform to UPPER_CASE naming style (invalid-name)
cgmanifests/generate_cgmanifest.py|32| C0103: Constant name "package_url" doesn't conform to UPPER_CASE naming style (invalid-name)
cgmanifests/generate_cgmanifest.py|46 col 19| W0621: Redefining name 'name' from outer scope (line 178) (redefined-outer-name)
cgmanifests/generate_cgmanifest.py|46 col 25| W0621: Redefining name 'parsed_url' from outer scope (line 122) (redefined-outer-name)
cgmanifests/generate_cgmanifest.py|57 col 8| W0621: Redefining name 'commit' from outer scope (line 168) (redefined-outer-name)
cgmanifests/generate_cgmanifest.py|75 col 8| W0621: Redefining name 'url' from outer scope (line 168) (redefined-outer-name)
cgmanifests/generate_cgmanifest.py|53 col 19| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
cgmanifests/generate_cgmanifest.py|75 col 14| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
cgmanifests/generate_cgmanifest.py|76 col 14| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
cgmanifests/generate_cgmanifest.py|77 col 14| W3101: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout)
cgmanifests/generate_cgmanifest.py|83 col 18| W3101: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout)
cgmanifests/generate_cgmanifest.py|46| R0912: Too many branches (13/12) (too-many-branches)
cgmanifests/generate_cgmanifest.py|93 col 5| W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
cgmanifests/generate_cgmanifest.py|99 col 12| C0103: Constant name "package_name" doesn't conform to UPPER_CASE naming style (invalid-name)
cgmanifests/generate_cgmanifest.py|100 col 12| C0103: Constant name "package_filename" doesn't conform to UPPER_CASE naming style (invalid-name)
cgmanifests/generate_cgmanifest.py|101 col 12| C0103: Constant name "package_url" doesn't conform to UPPER_CASE naming style (invalid-name)
cgmanifests/generate_cgmanifest.py|138 col 16| C0103: Constant name "package_name" doesn't conform to UPPER_CASE naming style (invalid-name)
cgmanifests/generate_cgmanifest.py|139 col 16| C0103: Constant name "package_filename" doesn't conform to UPPER_CASE naming style (invalid-name)
cgmanifests/generate_cgmanifest.py|140 col 16| C0103: Constant name "package_url" doesn't conform to UPPER_CASE naming style (invalid-name)
cgmanifests/generate_cgmanifest.py|153 col 8| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
cgmanifests/generate_cgmanifest.py|169 col 36| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
cgmanifests/generate_cgmanifest.py|173 col 5| W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
cgmanifests/generate_cgmanifest.py|209 col 5| W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
cgmanifests/print_submodule_info.py|29 col 6| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
csharp/testdata/test_input_BFLOAT16.py|1| C0103: Module name "test_input_BFLOAT16" doesn't conform to snake_case naming style (invalid-name)
csharp/testdata/test_input_FLOAT16.py|1| C0103: Module name "test_input_FLOAT16" doesn't conform to snake_case naming style (invalid-name)
docs/python/inference/conf.py|19| W0622: Redefining built-in 'copyright' (redefined-builtin)
docs/python/inference/conf.py|18| C0103: Constant name "project" doesn't conform to UPPER_CASE naming style (invalid-name)
docs/python/inference/conf.py|19| C0103: Constant name "copyright" doesn't conform to UPPER_CASE naming style (invalid-name)
docs/python/inference/conf.py|20| C0103: Constant name "author" doesn't conform to UPPER_CASE naming style (invalid-name)
docs/python/inference/conf.py|48| C0103: Constant name "master_doc" doesn't conform to UPPER_CASE naming style (invalid-name)
docs/python/inference/conf.py|49| C0103: Constant name "language" doesn't conform to UPPER_CASE naming style (invalid-name)
docs/python/inference/conf.py|51| C0103: Constant name "pygments_style" doesn't conform to UPPER_CASE naming style (invalid-name)
docs/python/inference/conf.py|52| C0103: Constant name "autoclass_content" doesn't conform to UPPER_CASE naming style (invalid-name)
docs/python/inference/conf.py|56| C0103: Constant name "html_theme" doesn't conform to UPPER_CASE naming style (invalid-name)
docs/python/inference/conf.py|57| C0103: Constant name "html_logo" doesn't conform to UPPER_CASE naming style (invalid-name)
docs/python/inference/conf.py|59| C0103: Constant name "graphviz_output_format" doesn't conform to UPPER_CASE naming style (invalid-name)
docs/python/inference/conf.py|63| C0103: Constant name "googleanalytics_id" doesn't conform to UPPER_CASE naming style (invalid-name)
docs/python/inference/conf.py|79| C0103: Constant name "md_image_dest" doesn't conform to UPPER_CASE naming style (invalid-name)
docs/python/inference/conf.py|98 col 8| W0621: Redefining name 'shutil' from outer scope (line 9) (redefined-outer-name)
docs/python/inference/conf.py|92 col 8| C0415: Import outside toplevel (urllib.request) (import-outside-toplevel)
docs/python/inference/conf.py|98 col 8| W0404: Reimport 'shutil' (imported line 9) (reimported)
docs/python/inference/conf.py|98 col 8| C0415: Import outside toplevel (shutil) (import-outside-toplevel)
docs/python/inference/conf.py|9| W0611: Unused import shutil (unused-import)
docs/python/inference/conf.py|10| W0611: Unused import sys (unused-import)
docs/python/inference/examples/plot_backend.py|20| R0402: Use 'from onnxruntime import backend' instead (consider-using-from-import)
docs/python/inference/examples/plot_backend.py|37 col 10| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_backend.py|38 col 10| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_backend.py|50 col 10| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_backend.py|51 col 10| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_common_errors.py|38 col 7| W0718: Catching too general exception Exception (broad-exception-caught)
docs/python/inference/examples/plot_common_errors.py|40 col 10| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_common_errors.py|49 col 7| W0718: Catching too general exception Exception (broad-exception-caught)
docs/python/inference/examples/plot_common_errors.py|51 col 10| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_common_errors.py|71 col 7| W0718: Catching too general exception Exception (broad-exception-caught)
docs/python/inference/examples/plot_common_errors.py|73 col 10| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_common_errors.py|88 col 14| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_common_errors.py|90 col 14| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_common_errors.py|101 col 14| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_common_errors.py|103 col 14| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_common_errors.py|116 col 14| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_common_errors.py|118 col 14| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_convert_pipeline_vectorizer.py|28| C0413: Import "from sklearn.model_selection import train_test_split" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_convert_pipeline_vectorizer.py|37| C0413: Import "from sklearn.ensemble import GradientBoostingRegressor" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_convert_pipeline_vectorizer.py|38| C0413: Import "from sklearn.feature_extraction import DictVectorizer" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_convert_pipeline_vectorizer.py|39| C0413: Import "from sklearn.pipeline import make_pipeline" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_convert_pipeline_vectorizer.py|48| C0413: Import "from sklearn.metrics import r2_score" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_convert_pipeline_vectorizer.py|61| C0413: Import "from skl2onnx import convert_sklearn" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_convert_pipeline_vectorizer.py|62| C0413: Import "from skl2onnx.common.data_types import DictionaryType, FloatTensorType, Int64TensorType, SequenceType" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_convert_pipeline_vectorizer.py|73| C0413: Import "import onnxruntime as rt" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_convert_pipeline_vectorizer.py|74| C0413: Import "from onnxruntime.capi.onnxruntime_pybind11_state import InvalidArgument" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_convert_pipeline_vectorizer.py|78| C0413: Import "import numpy" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_convert_pipeline_vectorizer.py|81 col 6| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_convert_pipeline_vectorizer.py|82 col 6| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_convert_pipeline_vectorizer.py|78| C0411: third party import "import numpy" should be placed before "import onnxruntime as rt" (wrong-import-order)
docs/python/inference/examples/plot_convert_pipeline_vectorizer.py|62| W0611: Unused SequenceType imported from skl2onnx.common.data_types (unused-import)
docs/python/inference/examples/plot_convert_pipeline_vectorizer.py|78| W0611: Unused import numpy (unused-import)
docs/python/inference/examples/plot_load_and_predict.py|50| C0413: Import "import numpy.random" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_load_and_predict.py|50| C0411: third party import "import numpy.random" should be placed before "import onnxruntime as rt" (wrong-import-order)
docs/python/inference/examples/plot_load_and_predict.py|50| C0412: Imports from package numpy are not grouped (ungrouped-imports)
docs/python/inference/examples/plot_metadata.py|21| C0413: Import "import onnx" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_metadata.py|25 col 6| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_metadata.py|26 col 6| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_metadata.py|27 col 6| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_metadata.py|28 col 6| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_metadata.py|29 col 6| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_metadata.py|30 col 6| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_metadata.py|31 col 6| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_metadata.py|36| C0413: Import "import onnxruntime as rt" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_metadata.py|41 col 6| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_metadata.py|42 col 6| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_metadata.py|43 col 6| E1305: Too many arguments for format string (too-many-format-args)
docs/python/inference/examples/plot_metadata.py|43 col 6| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_metadata.py|44 col 6| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_metadata.py|45 col 6| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_metadata.py|46 col 6| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_metadata.py|21| C0411: third party import "import onnx" should be placed before "from onnxruntime.datasets import get_example" (wrong-import-order)
docs/python/inference/examples/plot_pipeline.py|27| C0413: Import "import onnx" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_pipeline.py|43| C0413: Import "from onnx import ModelProto" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_pipeline.py|52| C0413: Import "from onnx.tools.net_drawer import GetOpNodeProducer, GetPydotGraph" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_pipeline.py|61| C0413: Import "import os" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_pipeline.py|67| C0413: Import "import matplotlib.pyplot as plt" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_pipeline.py|27| C0411: third party import "import onnx" should be placed before "from onnxruntime.datasets import get_example" (wrong-import-order)
docs/python/inference/examples/plot_pipeline.py|43| C0411: third party import "from onnx import ModelProto" should be placed before "from onnxruntime.datasets import get_example" (wrong-import-order)
docs/python/inference/examples/plot_pipeline.py|52| C0411: third party import "from onnx.tools.net_drawer import GetOpNodeProducer, GetPydotGraph" should be placed before "from onnxruntime.datasets import get_example" (wrong-import-order)
docs/python/inference/examples/plot_pipeline.py|61| C0411: standard import "import os" should be placed before "import onnx" (wrong-import-order)
docs/python/inference/examples/plot_pipeline.py|67| C0411: third party import "import matplotlib.pyplot as plt" should be placed before "from onnxruntime.datasets import get_example" (wrong-import-order)
docs/python/inference/examples/plot_profiling.py|23 col 33| W0621: Redefining name 'f' from outer scope (line 64) (redefined-outer-name)
docs/python/inference/examples/plot_profiling.py|21 col 32| W0613: Unused argument 'ir_version' (unused-argument)
docs/python/inference/examples/plot_profiling.py|62| C0413: Import "import json" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_profiling.py|64 col 5| W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
docs/python/inference/examples/plot_profiling.py|66| C0413: Import "import pprint" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_profiling.py|62| C0411: standard import "import json" should be placed before "import numpy" (wrong-import-order)
docs/python/inference/examples/plot_profiling.py|66| C0411: standard import "import pprint" should be placed before "import numpy" (wrong-import-order)
docs/python/inference/examples/plot_train_convert_predict.py|29| C0413: Import "from sklearn.model_selection import train_test_split" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_train_convert_predict.py|36| C0413: Import "from sklearn.linear_model import LogisticRegression" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_train_convert_predict.py|44| C0413: Import "from sklearn.metrics import confusion_matrix" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_train_convert_predict.py|57| C0413: Import "from skl2onnx import convert_sklearn" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_train_convert_predict.py|58| C0413: Import "from skl2onnx.common.data_types import FloatTensorType" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_train_convert_predict.py|69| C0413: Import "import onnxruntime as rt" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_train_convert_predict.py|73 col 6| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_train_convert_predict.py|74 col 6| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_train_convert_predict.py|82| C0413: Import "import numpy" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_train_convert_predict.py|108| C0413: Import "import pprint" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_train_convert_predict.py|114| C0413: Import "from timeit import Timer" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_train_convert_predict.py|122 col 10| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_train_convert_predict.py|138 col 9| C0103: Argument name "X_test" doesn't conform to snake_case naming style (invalid-name)
docs/python/inference/examples/plot_train_convert_predict.py|138 col 9| W0621: Redefining name 'X_test' from outer scope (line 31) (redefined-outer-name)
docs/python/inference/examples/plot_train_convert_predict.py|183| C0413: Import "from sklearn.ensemble import RandomForestClassifier" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_train_convert_predict.py|220 col 14| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_train_convert_predict.py|222 col 31| C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
docs/python/inference/examples/plot_train_convert_predict.py|231| C0413: Import "from pandas import DataFrame" should be placed at the top of the module (wrong-import-position)
docs/python/inference/examples/plot_train_convert_predict.py|82| C0411: third party import "import numpy" should be placed before "import onnxruntime as rt" (wrong-import-order)
docs/python/inference/examples/plot_train_convert_predict.py|108| C0411: standard import "import pprint" should be placed before "from sklearn.datasets import load_iris" (wrong-import-order)
docs/python/inference/examples/plot_train_convert_predict.py|114| C0411: standard import "from timeit import Timer" should be placed before "from sklearn.datasets import load_iris" (wrong-import-order)
docs/python/inference/examples/plot_train_convert_predict.py|183| C0411: third party import "from sklearn.ensemble import RandomForestClassifier" should be placed before "import onnxruntime as rt" (wrong-import-order)
docs/python/inference/examples/plot_train_convert_predict.py|231| C0411: third party import "from pandas import DataFrame" should be placed before "import onnxruntime as rt" (wrong-import-order)
docs/python/inference/examples/plot_train_convert_predict.py|183| C0412: Imports from package sklearn are not grouped (ungrouped-imports)
docs/python/training/conf.py|11| W0622: Redefining built-in 'copyright' (redefined-builtin)
docs/python/training/conf.py|10| C0103: Constant name "project" doesn't conform to UPPER_CASE naming style (invalid-name)
docs/python/training/conf.py|11| C0103: Constant name "copyright" doesn't conform to UPPER_CASE naming style (invalid-name)
docs/python/training/conf.py|12| C0103: Constant name "author" doesn't conform to UPPER_CASE naming style (invalid-name)
docs/python/training/conf.py|13| C0103: Constant name "version" doesn't conform to UPPER_CASE naming style (invalid-name)
docs/python/training/conf.py|14| C0103: Constant name "release" doesn't conform to UPPER_CASE naming style (invalid-name)
docs/python/training/conf.py|21| C0103: Constant name "autoclass_content" doesn't conform to UPPER_CASE naming style (invalid-name)
docs/python/training/conf.py|25| C0103: Constant name "html_theme" doesn't conform to UPPER_CASE naming style (invalid-name)
onnxruntime/init.py|50 col 7| W0718: Catching too general exception Exception (broad-exception-caught)
onnxruntime/init.py|49 col 4| C0103: Constant name "import_capi_exception" doesn't conform to UPPER_CASE naming style (invalid-name)
... (Too many findings. Dropped some findings)