Pylint report from report.jinja2

Score

9.28 / 10 (previous score: 9.28 / 10)

Messages

Module ebcpy.data_types (ebcpy/data_types.py)

Line Col. Type Symbol ID Obj Message
16 0 warning unused-import W0611
Unused numpy imported as np
25 11 error undefined-all-variable E0603
Undefined variable name 'numeric_indexes' in __all__
253 0 convention line-too-long C0301
Line too long (107/100)
281 4 refactor too-many-branches R0912 TimeSeriesData._load_df_from_file
Too many branches (14/12)
305 17 warning unspecified-encoding W1514 TimeSeriesData._load_df_from_file
Using open without explicitly specifying an encoding
465 4 refactor too-many-arguments R0913 TimeSeriesData.low_pass_filter
Too many arguments (6/5)

Module ebcpy.modelica (ebcpy/modelica/__init__.py)

Line Col. Type Symbol ID Obj Message
9 0 refactor too-many-locals R0914 get_expressions
Too many local variables (20/15)
9 0 refactor too-many-branches R0912 get_expressions
Too many branches (13/12)
56 15 convention consider-using-f-string C0209 get_expressions
Formatting a regular string which could be a f-string
60 9 warning unspecified-encoding W1514 get_expressions
Using open without explicitly specifying an encoding

Module ebcpy.modelica.manipulate_ds (ebcpy/modelica/manipulate_ds.py)

Line Col. Type Symbol ID Obj Message
10 0 refactor too-many-locals R0914 convert_ds_file_to_dataframe
Too many local variables (17/15)
43 9 warning unspecified-encoding W1514 convert_ds_file_to_dataframe
Using open without explicitly specifying an encoding
116 24 convention consider-using-f-string C0209 eliminate_parameters_from_ds_file
Formatting a regular string which could be a f-string
132 24 convention consider-using-f-string C0209 eliminate_parameters_from_ds_file
Formatting a regular string which could be a f-string
134 27 convention consider-using-f-string C0209 eliminate_parameters_from_ds_file
Formatting a regular string which could be a f-string
143 9 warning unspecified-encoding W1514 eliminate_parameters_from_ds_file
Using open without explicitly specifying an encoding
149 9 warning unspecified-encoding W1514 eliminate_parameters_from_ds_file
Using open without explicitly specifying an encoding

Module ebcpy.modelica.simres (ebcpy/modelica/simres.py)

Line Col. Type Symbol ID Obj Message
22 0 convention line-too-long C0301
Line too long (106/100)
65 0 refactor too-many-locals R0914 loadsim
Too many local variables (16/15)
123 17 convention consider-using-f-string C0209 loadsim
Formatting a regular string which could be a f-string
154 20 refactor use-dict-literal R1735 loadsim
Consider using '{}' instead of a call to 'dict'.
157 28 convention consider-using-f-string C0209 loadsim
Formatting a regular string which could be a f-string
158 28 convention consider-using-f-string C0209 loadsim
Formatting a regular string which could be a f-string
254 0 refactor too-many-branches R0912 mat_to_pandas
Too many branches (14/12)

Module ebcpy.optimization (ebcpy/optimization.py)

Line Col. Type Symbol ID Obj Message
125 0 convention line-too-long C0301
Line too long (115/100)
126 0 convention line-too-long C0301
Line too long (143/100)
184 4 refactor inconsistent-return-statements R1710 Optimizer._scipy_minimize
Either all return statements in a function should return an expression, or none of them should.
184 38 warning unused-argument W0613 Optimizer._scipy_minimize
Unused argument 'n_cpu'
225 4 refactor too-many-locals R0914 Optimizer._dlib_minimize
Too many local variables (17/15)
225 4 refactor inconsistent-return-statements R1710 Optimizer._dlib_minimize
Either all return statements in a function should return an expression, or none of them should.
225 29 warning unused-argument W0613 Optimizer._dlib_minimize
Unused argument 'method'
225 42 warning unused-argument W0613 Optimizer._dlib_minimize
Unused argument 'n_cpu'
274 4 refactor inconsistent-return-statements R1710 Optimizer._scipy_differential_evolution
Either all return statements in a function should return an expression, or none of them should.
274 63 warning unused-argument W0613 Optimizer._scipy_differential_evolution
Unused argument 'n_cpu'
320 4 refactor too-many-locals R0914 Optimizer._pymoo
Too many local variables (31/15)
320 4 refactor inconsistent-return-statements R1710 Optimizer._pymoo
Either all return statements in a function should return an expression, or none of them should.
339 0 convention line-too-long C0301
Line too long (109/100)

Module ebcpy.preprocessing (ebcpy/preprocessing.py)

Line Col. Type Symbol ID Obj Message
220 0 refactor too-many-locals R0914 clean_and_space_equally_time_series
Too many local variables (19/15)
220 0 refactor too-many-branches R0912 clean_and_space_equally_time_series
Too many branches (13/12)
289 0 convention line-too-long C0301
Line too long (109/100)
290 0 convention line-too-long C0301
Line too long (104/100)
312 4 warning unbalanced-tuple-unpacking W0632 clean_and_space_equally_time_series
Possible unbalanced tuple unpacking with sequence defined at line 671: left side has 2 labels, right side has 4 values
437 0 refactor too-many-arguments R0913 create_on_off_signal
Too many arguments (6/5)
670 4 refactor no-else-return R1705 get_df_index_frequency_mean_and_std
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it

Module ebcpy.simulationapi.__init__ (ebcpy/simulationapi/__init__.py)

Line Col. Type Symbol ID Obj Message
408 0 convention line-too-long C0301
Line too long (111/100)

Module ebcpy.simulationapi (ebcpy/simulationapi/__init__.py)

Line Col. Type Symbol ID Obj Message
23 0 convention wrong-import-order C0411
standard import "from shutil import disk_usage" should be placed before "import pydantic"
136 4 refactor too-few-public-methods R0903 SimulationSetup.Config
Too few public methods (0/2)
144 0 refactor too-many-instance-attributes R0902 SimulationAPI
Too many instance attributes (18/7)
200 14 warning protected-access W0212 SimulationAPI.worker_idx
Access to a protected member _identity of a client class
239 4 refactor too-many-locals R0914 SimulationAPI.simulate
Too many local variables (19/15)
239 4 refactor too-many-branches R0912 SimulationAPI.simulate
Too many branches (21/12)
239 4 refactor too-many-statements R0915 SimulationAPI.simulate
Too many statements (51/50)
357 20 convention invalid-name C0103 SimulationAPI.simulate
Variable name "t1" doesn't conform to snake_case naming style
375 30 convention invalid-name C0103 SimulationAPI._remaining_time
Argument name "t1" doesn't conform to snake_case naming style
409 15 warning unused-variable W0612 SimulationAPI._check_disk_space
Unused variable 'used'

Module ebcpy.simulationapi.dymola_api (ebcpy/simulationapi/dymola_api.py)

Line Col. Type Symbol ID Obj Message
1 0 convention too-many-lines C0302
Too many lines in module (1278/1000)
1 0 refactor duplicate-code R0801
Similar lines in 2 files
==ebcpy.simulationapi.dymola_api:[977:988]
==ebcpy.simulationapi.fmu:[405:412]
        ))
        return super().save_for_reproduction(
            title=title,
            path=path,
            files=files,
            **kwargs
        )
1 0 refactor duplicate-code R0801
Similar lines in 2 files
==ebcpy.simulationapi.dymola_api:[361:370]
==ebcpy.simulationapi.fmu:[193:201]
        savepath = kwargs.pop("savepath", None)
        if kwargs:
            self.logger.error(
                "You passed the following kwargs which "
                "are not part of the supported kwargs and "
                "have thus no effect: %s.", " ,".join(list(kwargs.keys())))

        # Handle multiprocessing
        if self.use_mp:
1 0 refactor duplicate-code R0801
Similar lines in 2 files
==ebcpy.simulationapi.dymola_api:[275:284]
==ebcpy.simulationapi.fmu:[194:200]
        if kwargs:
            self.logger.error(
                "You passed the following kwargs which "
                "are not part of the supported kwargs and "
                "have thus no effect: %s.", " ,".join(list(kwargs.keys())))

    def _update_model(self):
        # Translate the model and extract all variables,
        # if the user wants to:
1 0 refactor cyclic-import R0401
Cyclic import (ebcpy -> ebcpy.simulationapi.dymola_api)
1 0 refactor cyclic-import R0401
Cyclic import (ebcpy.data_types -> ebcpy.preprocessing)
1 0 refactor cyclic-import R0401
Cyclic import (ebcpy -> ebcpy.simulationapi.fmu)
44 0 refactor too-many-instance-attributes R0902 DymolaAPI
Too many instance attributes (21/7)
155 4 refactor too-many-branches R0912 DymolaAPI.__init__
Too many branches (25/12)
155 4 refactor too-many-statements R0915 DymolaAPI.__init__
Too many statements (73/50)
262 17 refactor use-dict-literal R1735 DymolaAPI.__init__
Consider using '{"use_mp": True, "port": port, "time_delay": i * _time_delay_between_starts, ... }' instead of a call to 'dict'.
266 51 refactor use-dict-literal R1735 DymolaAPI.__init__
Consider using '{"use_mp": False}' instead of a call to 'dict'.
326 0 convention line-too-long C0301
Line too long (102/100)
349 4 refactor too-many-locals R0914 DymolaAPI._single_simulation
Too many local variables (41/15)
349 4 refactor too-many-return-statements R0911 DymolaAPI._single_simulation
Too many return statements (7/6)
349 4 refactor too-many-branches R0912 DymolaAPI._single_simulation
Too many branches (33/12)
349 4 refactor too-many-statements R0915 DymolaAPI._single_simulation
Too many statements (116/50)
371 12 warning unused-variable W0612 DymolaAPI._single_simulation
Unused variable 'idx_worker'
375 45 refactor use-dict-literal R1735 DymolaAPI._single_simulation
Consider using '{"use_mp": True}' instead of a call to 'dict'.
390 12 warning attribute-defined-outside-init W0201 DymolaAPI._single_simulation
Attribute '_model_name' defined outside __init__
545 21 warning unspecified-encoding W1514 DymolaAPI._single_simulation
Using open without explicitly specifying an encoding
548 19 warning broad-exception-caught W0718 DymolaAPI._single_simulation
Catching too general exception Exception
553 16 warning broad-exception-raised W0719 DymolaAPI._single_simulation
Raising too general exception: Exception
616 12 warning broad-exception-raised W0719 DymolaAPI.translate
Raising too general exception: Exception
618 4 refactor too-many-arguments R0913 DymolaAPI.set_compiler
Too many arguments (6/5)
683 12 warning broad-exception-raised W0719 DymolaAPI.import_initial
Raising too general exception: Exception
826 12 convention import-outside-toplevel C0415 DymolaAPI._open_dymola_interface
Import outside toplevel (dymola.dymola_interface.DymolaInterface)
827 12 convention import-outside-toplevel C0415 DymolaAPI._open_dymola_interface
Import outside toplevel (dymola.dymola_exception.DymolaConnectionException)
832 30 convention consider-using-f-string C0209 DymolaAPI._open_dymola_interface
Formatting a regular string which could be a f-string
883 4 refactor too-many-arguments R0913 DymolaAPI.save_for_reproduction
Too many arguments (6/5)
883 4 refactor too-many-locals R0914 DymolaAPI.save_for_reproduction
Too many local variables (21/15)
909 8 convention import-outside-toplevel C0415 DymolaAPI.save_for_reproduction
Import outside toplevel (ebcpy.utils.reproduction.ReproductionFile, ebcpy.utils.reproduction.CopyFile, ebcpy.utils.reproduction.get_git_information)
945 0 convention line-too-long C0301
Line too long (118/100)
964 28 warning unspecified-encoding W1514 DymolaAPI.save_for_reproduction
Using open without explicitly specifying an encoding
987 4 refactor inconsistent-return-statements R1710 DymolaAPI._save_to_fmu
Either all return statements in a function should return an expression, or none of them should.
999 18 convention consider-using-f-string C0209 DymolaAPI._save_to_fmu
Formatting a regular string which could be a f-string
1002 16 warning broad-exception-raised W0719 DymolaAPI._save_to_fmu
Raising too general exception: Exception
1166 26 convention consider-using-f-string C0209 DymolaAPI._check_dymola_instances
Formatting a regular string which could be a f-string
1206 71 refactor use-dict-literal R1735 DymolaAPI._check_restart
Consider using '{"use_mp": False}' instead of a call to 'dict'.
1231 0 convention line-too-long C0301
Line too long (104/100)
1232 0 convention line-too-long C0301
Line too long (102/100)

Module ebcpy.simulationapi.fmu (ebcpy/simulationapi/fmu.py)

Line Col. Type Symbol ID Obj Message
24 0 convention invalid-name C0103 FMU_Setup
Class name "FMU_Setup" doesn't conform to PascalCase naming style
40 0 convention invalid-name C0103 FMU_API
Class name "FMU_API" doesn't conform to PascalCase naming style
177 4 refactor too-many-locals R0914 FMU_API._single_simulation
Too many local variables (17/15)
177 4 refactor too-many-branches R0912 FMU_API._single_simulation
Too many branches (14/12)
329 17 refactor consider-using-in R1714 FMU_API.setup_fmu_instance
Consider merging these comparisons with 'in' by using 'var.causality in ('parameter', 'calculatedParameter')'. Use a set instead if elements are hashable.
378 4 refactor too-many-arguments R0913 FMU_API._custom_logger
Too many arguments (6/5)

Module ebcpy.utils.conversion (ebcpy/utils/conversion.py)

Line Col. Type Symbol ID Obj Message
8 0 warning unused-import W0611
Unused pandas imported as pd

Module ebcpy.utils.reproduction (ebcpy/utils/reproduction.py)

Line Col. Type Symbol ID Obj Message
54 0 refactor too-many-arguments R0913 save_reproduction_archive
Too many arguments (6/5)
54 0 refactor too-many-locals R0914 save_reproduction_archive
Too many local variables (18/15)
54 0 refactor too-many-branches R0912 save_reproduction_archive
Too many branches (17/12)
90 28 error no-member E1101 save_reproduction_archive
Instance of 'module' has no '__file__' member
103 16 warning unspecified-encoding W1514 save_reproduction_archive
Using open without explicitly specifying an encoding
125 9 warning unspecified-encoding W1514 save_reproduction_archive
Using open without explicitly specifying an encoding
125 64 convention invalid-name C0103 save_reproduction_archive
Variable name "f" doesn't conform to snake_case naming style
162 12 refactor redefined-argument-from-local R1704 save_reproduction_archive
Redefining argument with the local name 'file'
185 0 refactor inconsistent-return-statements R1710 get_git_information
Either all return statements in a function should return an expression, or none of them should.
207 8 convention import-outside-toplevel C0415 get_git_information
Import outside toplevel (git.Repo, git.InvalidGitRepositoryError, git.RemoteReference)
209 8 warning raise-missing-from W0707 get_git_information
Consider explicitly re-raising using 'raise ImportError('Could not save data for reproduction, install GitPython using `pip install GitPython`: ' + str(err)) from err'
277 17 warning unused-variable W0612 creat_copy_files_from_dir
Unused variable 'dirnames'
279 36 convention unnecessary-dunder-call C2801 creat_copy_files_from_dir
Unnecessarily calls dunder method __str__. Use str built-in function.
295 0 convention line-too-long C0301
Line too long (126/100)
330 4 convention import-outside-toplevel C0415 _get_python_package_information
Import outside toplevel (pkg_resources)
331 43 error not-an-iterable E1133 _get_python_package_information
Non-iterable value pkg_resources.working_set is used in an iterating context
331 25 refactor unnecessary-comprehension R1721 _get_python_package_information
Unnecessary use of a comprehension, use list(pkg_resources.working_set) instead.
343 0 convention line-too-long C0301
Line too long (109/100)
350 16 error import-error E0401 _get_python_package_information
Unable to import 'pypisearch.search'
350 16 convention import-outside-toplevel C0415 _get_python_package_information
Import outside toplevel (pypisearch.search.Search)
353 20 warning raising-format-tuple W0715 _get_python_package_information
Exception arguments suggest string formatting might be intended
380 8 warning f-string-without-interpolation W1309 _get_python_reproduction
Using an f-string that does not have any interpolated variables

Module /builds/EBC/EBC_all/github_ci/ebcpy/pylintrc (pylintrc)

Line Col. Type Symbol ID Obj Message
1 0 error unrecognized-option E0015
Unrecognized option found: no-space-check
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'print-statement' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'parameter-unpacking' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'unpacking-in-except' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'old-raise-syntax' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'backtick' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'import-star-module-level' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'apply-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'basestring-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'buffer-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'cmp-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'coerce-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'execfile-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'file-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'long-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'raw_input-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'reduce-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'standarderror-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'unicode-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'xrange-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'coerce-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'delslice-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'getslice-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'setslice-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'no-absolute-import' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'old-division' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'dict-iter-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'dict-view-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'next-method-called' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'metaclass-assignment' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'indexing-exception' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'raising-string' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'reload-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'oct-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'hex-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'nonzero-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'cmp-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'input-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'round-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'intern-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'unichr-builtin' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'map-builtin-not-iterating' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'zip-builtin-not-iterating' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'range-builtin-not-iterating' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'filter-builtin-not-iterating' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'using-cmp-argument' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'div-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'idiv-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'rdiv-method' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'exception-message-attribute' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'invalid-str-codec' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'sys-max-int' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'bad-python3-import' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'deprecated-string-function' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'deprecated-str-translate-call' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'deprecated-itertools-function' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'deprecated-types-field' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'next-method-defined' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'dict-items-not-iterating' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'dict-keys-not-iterating' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 refactor useless-option-value R0022
Useless option value for '--disable', 'dict-values-not-iterating' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/4942.
1 0 warning unknown-option-value W0012
Unknown option value for '--disable', expected a valid pylint message and got 'long-suffix'
1 0 warning unknown-option-value W0012
Unknown option value for '--disable', expected a valid pylint message and got 'old-ne-operator'
1 0 warning unknown-option-value W0012
Unknown option value for '--disable', expected a valid pylint message and got 'old-octal-literal'
1 0 warning unknown-option-value W0012
Unknown option value for '--disable', expected a valid pylint message and got 'non-ascii-bytes-literal'
1 0 warning unknown-option-value W0012
Unknown option value for '--disable', expected a valid pylint message and got 'locally-enabled'
1 0 warning unknown-option-value W0012
Unknown option value for '--disable', expected a valid pylint message and got 'eq-without-hash'

Metrics

Count per types

Name Count
error 5
refactor 114
warning 35
convention 38

Count per messages

Name Count
unrecognized-option 1
useless-option-value 60
unknown-option-value 6
line-too-long 14
inconsistent-return-statements 6
unused-argument 4
too-many-locals 11
unspecified-encoding 9
too-many-branches 9
too-many-arguments 6
undefined-all-variable 1
unused-import 2
unbalanced-tuple-unpacking 1
no-else-return 1
consider-using-f-string 10
use-dict-literal 5
no-member 1
invalid-name 5
redefined-argument-from-local 1
import-outside-toplevel 6
raise-missing-from 1
unnecessary-dunder-call 1
unused-variable 3
not-an-iterable 1
unnecessary-comprehension 1
import-error 1
raising-format-tuple 1
f-string-without-interpolation 1
consider-using-in 1
too-few-public-methods 1
too-many-instance-attributes 2
protected-access 1
too-many-statements 3
wrong-import-order 1
too-many-lines 1
broad-exception-caught 1
broad-exception-raised 4
too-many-return-statements 1
attribute-defined-outside-init 1
duplicate-code 3
cyclic-import 3

Count per modules

Name Count
/builds/EBC/EBC_all/github_ci/ebcpy/pylintrc 67
ebcpy.optimization 13
ebcpy.data_types 6
ebcpy.preprocessing 7
ebcpy.modelica 4
ebcpy.modelica.manipulate_ds 7
ebcpy.modelica.simres 7
ebcpy.utils.reproduction 22
ebcpy.utils.conversion 1
ebcpy.simulationapi.fmu 6
ebcpy.simulationapi.__init__ 1
ebcpy.simulationapi 10
ebcpy.simulationapi.dymola_api 41

Count per path

Name Count
pylintrc 67
ebcpy/optimization.py 13
ebcpy/data_types.py 6
ebcpy/preprocessing.py 7
ebcpy/modelica/__init__.py 4
ebcpy/modelica/manipulate_ds.py 7
ebcpy/modelica/simres.py 7
ebcpy/utils/reproduction.py 22
ebcpy/utils/conversion.py 1
ebcpy/simulationapi/fmu.py 6
ebcpy/simulationapi/__init__.py 11
ebcpy/simulationapi/dymola_api.py 41