Pylint report from report.jinja2

Score

9.07 / 10 (previous score: 9.07 / 10)

Messages

Module ebcpy (ebcpy/__init__.py)

Line Col. Type Symbol ID Obj Message
11 0 convention missing-final-newline C0304
Final newline missing

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__
285 4 refactor too-many-branches R0912 TimeSeriesData._load_df_from_file
Too many branches (14/12)
309 17 warning unspecified-encoding W1514 TimeSeriesData._load_df_from_file
Using open without explicitly specifying an encoding
449 4 refactor inconsistent-return-statements R1710 TimeSeriesData.to_float_index
Either all return statements in a function should return an expression, or none of them should.
488 8 refactor no-else-return R1705 TimeSeriesData.clean_and_space_equally
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it
494 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)
64 0 refactor too-many-locals R0914 loadsim
Too many local variables (16/15)
122 17 convention consider-using-f-string C0209 loadsim
Formatting a regular string which could be a f-string
153 20 refactor use-dict-literal R1735 loadsim
Consider using '{}' instead of a call to 'dict'.
156 28 convention consider-using-f-string C0209 loadsim
Formatting a regular string which could be a f-string
157 28 convention consider-using-f-string C0209 loadsim
Formatting a regular string which could be a f-string
253 0 refactor too-many-branches R0912 mat_to_pandas
Too many branches (15/12)

Module ebcpy.optimization (ebcpy/optimization.py)

Line Col. Type Symbol ID Obj Message
48 0 convention line-too-long C0301
Line too long (140/100)
55 0 convention line-too-long C0301
Line too long (106/100)
115 4 convention missing-function-docstring C0116 Optimizer.cd
Missing function or method docstring
115 4 convention invalid-name C0103 Optimizer.cd
Attribute name "cd" doesn't conform to snake_case naming style
116 0 convention line-too-long C0301
Line too long (144/100)
120 4 convention invalid-name C0103 Optimizer.cd
Attribute name "cd" doesn't conform to snake_case naming style
120 17 convention invalid-name C0103 Optimizer.cd
Argument name "cd" doesn't conform to snake_case naming style
121 0 convention line-too-long C0301
Line too long (144/100)
143 0 convention line-too-long C0301
Line too long (115/100)
144 0 convention line-too-long C0301
Line too long (143/100)
202 0 convention trailing-whitespace C0303
Trailing whitespace
204 0 convention trailing-whitespace C0303
Trailing whitespace
205 4 refactor too-many-locals R0914 Optimizer._bayesian_optimization
Too many local variables (16/15)
205 4 refactor inconsistent-return-statements R1710 Optimizer._bayesian_optimization
Either all return statements in a function should return an expression, or none of them should.
205 37 warning unused-argument W0613 Optimizer._bayesian_optimization
Unused argument 'method'
205 50 warning unused-argument W0613 Optimizer._bayesian_optimization
Unused argument 'n_cpu'
222 0 convention trailing-whitespace C0303
Trailing whitespace
229 0 convention trailing-whitespace C0303
Trailing whitespace
244 0 convention trailing-whitespace C0303
Trailing whitespace
245 12 convention invalid-name C0103 Optimizer._bayesian_optimization
Variable name "gp" doesn't conform to snake_case naming style
247 16 warning protected-access W0212 Optimizer._bayesian_optimization
Access to a protected member _gp of a client class
252 0 convention trailing-whitespace C0303
Trailing whitespace
258 0 convention trailing-whitespace C0303
Trailing whitespace
268 0 convention trailing-whitespace C0303
Trailing whitespace
272 0 convention line-too-long C0301
Line too long (103/100)
273 0 convention line-too-long C0301
Line too long (109/100)
277 0 convention trailing-whitespace C0303
Trailing whitespace
279 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.
279 38 warning unused-argument W0613 Optimizer._scipy_minimize
Unused argument 'n_cpu'
320 4 refactor too-many-locals R0914 Optimizer._dlib_minimize
Too many local variables (17/15)
320 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.
320 29 warning unused-argument W0613 Optimizer._dlib_minimize
Unused argument 'method'
320 42 warning unused-argument W0613 Optimizer._dlib_minimize
Unused argument 'n_cpu'
369 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.
369 63 warning unused-argument W0613 Optimizer._scipy_differential_evolution
Unused argument 'n_cpu'
415 4 refactor too-many-locals R0914 Optimizer._pymoo
Too many local variables (38/15)
415 4 refactor too-many-statements R0915 Optimizer._pymoo
Too many statements (54/50)
415 4 refactor inconsistent-return-statements R1710 Optimizer._pymoo
Either all return statements in a function should return an expression, or none of them should.
431 0 convention trailing-whitespace C0303
Trailing whitespace
449 0 convention trailing-whitespace C0303
Trailing whitespace
452 0 convention trailing-whitespace C0303
Trailing whitespace
453 0 convention trailing-whitespace C0303
Trailing whitespace
469 0 convention trailing-whitespace C0303
Trailing whitespace
471 0 convention line-too-long C0301
Line too long (107/100)
473 0 convention trailing-whitespace C0303
Trailing whitespace
508 0 convention trailing-whitespace C0303
Trailing whitespace
513 0 convention trailing-whitespace C0303
Trailing whitespace
515 0 convention trailing-whitespace C0303
Trailing whitespace

Module ebcpy.preprocessing (ebcpy/preprocessing.py)

Line Col. Type Symbol ID Obj Message
233 0 refactor too-many-locals R0914 clean_and_space_equally_time_series
Too many local variables (20/15)
233 0 refactor too-many-branches R0912 clean_and_space_equally_time_series
Too many branches (13/12)
326 4 warning unbalanced-tuple-unpacking W0632 clean_and_space_equally_time_series
Possible unbalanced tuple unpacking with sequence defined at line 688: left side has 2 labels, right side has 4 values
452 0 refactor too-many-arguments R0913 create_on_off_signal
Too many arguments (6/5)
687 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
419 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
24 0 convention wrong-import-order C0411
standard import "from shutil import disk_usage" should be placed before "import pydantic"
137 4 refactor too-few-public-methods R0903 SimulationSetup.Config
Too few public methods (0/2)
145 0 refactor too-many-instance-attributes R0902 SimulationAPI
Too many instance attributes (18/7)
210 14 warning protected-access W0212 SimulationAPI.worker_idx
Access to a protected member _identity of a client class
249 4 refactor too-many-locals R0914 SimulationAPI.simulate
Too many local variables (19/15)
249 4 refactor too-many-branches R0912 SimulationAPI.simulate
Too many branches (21/12)
249 4 refactor too-many-statements R0915 SimulationAPI.simulate
Too many statements (51/50)
368 20 convention invalid-name C0103 SimulationAPI.simulate
Variable name "t1" doesn't conform to snake_case naming style
386 30 convention invalid-name C0103 SimulationAPI._remaining_time
Argument name "t1" doesn't conform to snake_case naming style
420 15 warning unused-variable W0612 SimulationAPI._check_disk_space
Unused variable 'used'
512 4 convention missing-function-docstring C0116 SimulationAPI.set_cd
Missing function or method docstring
512 21 convention invalid-name C0103 SimulationAPI.set_cd
Argument name "cd" doesn't conform to snake_case naming style
518 4 convention missing-function-docstring C0116 SimulationAPI.cd
Missing function or method docstring
518 4 convention invalid-name C0103 SimulationAPI.cd
Attribute name "cd" doesn't conform to snake_case naming style
524 4 convention invalid-name C0103 SimulationAPI.cd
Attribute name "cd" doesn't conform to snake_case naming style
524 17 convention invalid-name C0103 SimulationAPI.cd
Argument name "cd" doesn't conform to snake_case naming style

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 (1333/1000)
45 0 refactor too-many-instance-attributes R0902 DymolaAPI
Too many instance attributes (23/7)
157 4 refactor too-many-branches R0912 DymolaAPI.__init__
Too many branches (27/12)
157 4 refactor too-many-statements R0915 DymolaAPI.__init__
Too many statements (77/50)
272 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'.
276 51 refactor use-dict-literal R1735 DymolaAPI.__init__
Consider using '{"use_mp": False}' instead of a call to 'dict'.
340 0 convention line-too-long C0301
Line too long (102/100)
363 4 refactor too-many-locals R0914 DymolaAPI._single_simulation
Too many local variables (41/15)
363 4 refactor too-many-return-statements R0911 DymolaAPI._single_simulation
Too many return statements (7/6)
363 4 refactor too-many-branches R0912 DymolaAPI._single_simulation
Too many branches (34/12)
363 4 refactor too-many-statements R0915 DymolaAPI._single_simulation
Too many statements (118/50)
385 12 warning unused-variable W0612 DymolaAPI._single_simulation
Unused variable 'idx_worker'
389 45 refactor use-dict-literal R1735 DymolaAPI._single_simulation
Consider using '{"use_mp": True}' instead of a call to 'dict'.
566 21 warning unspecified-encoding W1514 DymolaAPI._single_simulation
Using open without explicitly specifying an encoding
569 19 warning broad-exception-caught W0718 DymolaAPI._single_simulation
Catching too general exception Exception
574 16 warning broad-exception-raised W0719 DymolaAPI._single_simulation
Raising too general exception: Exception
637 12 warning broad-exception-raised W0719 DymolaAPI.translate
Raising too general exception: Exception
639 4 refactor too-many-arguments R0913 DymolaAPI.set_compiler
Too many arguments (6/5)
704 12 warning broad-exception-raised W0719 DymolaAPI.import_initial
Raising too general exception: Exception
723 0 convention line-too-long C0301
Line too long (136/100)
726 36 convention invalid-name C0103 DymolaAPI.set_dymola_cd
Argument name "cd" doesn't conform to snake_case naming style
816 12 convention invalid-name C0103 DymolaAPI._setup_dymola_interface
Variable name "cd" doesn't conform to snake_case naming style
818 12 convention invalid-name C0103 DymolaAPI._setup_dymola_interface
Variable name "cd" doesn't conform to snake_case naming style
849 0 convention line-too-long C0301
Line too long (105/100)
858 12 convention import-outside-toplevel C0415 DymolaAPI._open_dymola_interface
Import outside toplevel (dymola.dymola_interface.DymolaInterface)
859 12 convention import-outside-toplevel C0415 DymolaAPI._open_dymola_interface
Import outside toplevel (dymola.dymola_exception.DymolaConnectionException)
864 30 convention consider-using-f-string C0209 DymolaAPI._open_dymola_interface
Formatting a regular string which could be a f-string
915 4 refactor too-many-arguments R0913 DymolaAPI.save_for_reproduction
Too many arguments (6/5)
915 4 refactor too-many-locals R0914 DymolaAPI.save_for_reproduction
Too many local variables (25/15)
915 4 refactor too-many-branches R0912 DymolaAPI.save_for_reproduction
Too many branches (13/12)
941 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)
977 0 convention line-too-long C0301
Line too long (118/100)
993 21 warning unspecified-encoding W1514 DymolaAPI.save_for_reproduction
Using open without explicitly specifying an encoding
994 0 convention line-too-long C0301
Line too long (110/100)
1014 28 warning unspecified-encoding W1514 DymolaAPI.save_for_reproduction
Using open without explicitly specifying an encoding
1037 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.
1049 18 convention consider-using-f-string C0209 DymolaAPI._save_to_fmu
Formatting a regular string which could be a f-string
1052 16 warning broad-exception-raised W0719 DymolaAPI._save_to_fmu
Raising too general exception: Exception
1091 0 convention line-too-long C0301
Line too long (103/100)
1221 26 convention consider-using-f-string C0209 DymolaAPI._check_dymola_instances
Formatting a regular string which could be a f-string
1261 71 refactor use-dict-literal R1735 DymolaAPI._check_restart
Consider using '{"use_mp": False}' instead of a call to 'dict'.
1286 0 convention line-too-long C0301
Line too long (104/100)
1287 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
1 0 refactor duplicate-code R0801
Similar lines in 2 files
==ebcpy.simulationapi.dymola_api:[1027:1038]
==ebcpy.simulationapi.fmu:[405:412]
                ))

        return super().save_for_reproduction(
            title=title,
            path=path,
            files=files,
            **kwargs
        )

    def _save_to_fmu(self, fail_on_error):
        """Save model as an FMU"""
1 0 refactor duplicate-code R0801
Similar lines in 2 files
==ebcpy.simulationapi.dymola_api:[375:384]
==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())))

        if self.use_mp:
1 0 refactor duplicate-code R0801
Similar lines in 2 files
==ebcpy.simulationapi.dymola_api:[289:298]
==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())))
1 0 refactor duplicate-code R0801
Similar lines in 2 files
==ebcpy.optimization:[103:115]
==ebcpy.simulationapi.__init__:[501:512]
        return self._working_directory

    @working_directory.setter
    def working_directory(self, working_directory: Union[Path, str]):
        """Set current working directory"""
        if isinstance(working_directory, str):
            working_directory = Path(working_directory)
        os.makedirs(working_directory, exist_ok=True)
        self._working_directory = working_directory

    @property
    def cd(self) -> Path:
1 0 refactor cyclic-import R0401
Cyclic import (ebcpy.data_types -> ebcpy.preprocessing)
1 0 refactor cyclic-import R0401
Cyclic import (ebcpy -> ebcpy.simulationapi.dymola_api)
1 0 refactor cyclic-import R0401
Cyclic import (ebcpy -> ebcpy.simulationapi.fmu)
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
170 0 convention trailing-whitespace C0303
Trailing whitespace
230 18 convention invalid-name C0103 _convert_to_subset._to_tuple
Argument name "s" doesn't conform to snake_case naming style

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 ebcpy.utils.statistics_analyzer (ebcpy/utils/statistics_analyzer.py)

Line Col. Type Symbol ID Obj Message
189 0 convention trailing-whitespace C0303
Trailing whitespace
203 0 convention trailing-whitespace C0303
Trailing whitespace
206 0 convention trailing-whitespace C0303
Trailing whitespace

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 121
warning 38
convention 83

Count per messages

Name Count
unrecognized-option 1
useless-option-value 60
unknown-option-value 6
missing-final-newline 1
too-many-locals 12
unbalanced-tuple-unpacking 1
too-many-branches 10
too-many-arguments 6
no-else-return 2
unspecified-encoding 10
inconsistent-return-statements 8
undefined-all-variable 1
unused-import 2
line-too-long 21
trailing-whitespace 22
missing-function-docstring 3
invalid-name 17
protected-access 2
unused-argument 6
too-many-statements 4
no-member 1
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-f-string 10
use-dict-literal 5
too-few-public-methods 1
too-many-instance-attributes 2
wrong-import-order 1
too-many-lines 1
broad-exception-caught 1
broad-exception-raised 4
too-many-return-statements 1
consider-using-in 1
duplicate-code 4
cyclic-import 3

Count per modules

Name Count
/builds/EBC/EBC_all/github_ci/ebcpy/pylintrc 67
ebcpy 1
ebcpy.preprocessing 5
ebcpy.data_types 7
ebcpy.optimization 48
ebcpy.utils.statistics_analyzer 3
ebcpy.utils.reproduction 22
ebcpy.utils.conversion 3
ebcpy.modelica.manipulate_ds 7
ebcpy.modelica 4
ebcpy.modelica.simres 7
ebcpy.simulationapi.__init__ 1
ebcpy.simulationapi 16
ebcpy.simulationapi.dymola_api 43
ebcpy.simulationapi.fmu 13

Count per path

Name Count
pylintrc 67
ebcpy/__init__.py 1
ebcpy/preprocessing.py 5
ebcpy/data_types.py 7
ebcpy/optimization.py 48
ebcpy/utils/statistics_analyzer.py 3
ebcpy/utils/reproduction.py 22
ebcpy/utils/conversion.py 3
ebcpy/modelica/manipulate_ds.py 7
ebcpy/modelica/__init__.py 4
ebcpy/modelica/simres.py 7
ebcpy/simulationapi/__init__.py 17
ebcpy/simulationapi/dymola_api.py 43
ebcpy/simulationapi/fmu.py 13