Pylint report from report.jinja2

Score

6.17 / 10 (previous score: 6.17 / 10)

Messages

Module ebcpy.data_types (ebcpy/data_types.py)

Line Col. Type Symbol ID Obj Message
1 0 fatal astroid-error F0002
ebcpy/data_types.py: Fatal error while checking 'ebcpy/data_types.py'. Please open an issue in our bug tracker so we address this. There is a pre-filled template that you can use in '/home/runner/.cache/pylint/pylint-crash-2026-05-29-12-43-58.txt'.
569 0 convention line-too-long C0301
Line too long (112/100)
607 0 convention line-too-long C0301
Line too long (112/100)
701 0 convention line-too-long C0301
Line too long (118/100)

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

Line Col. Type Symbol ID Obj Message
1 0 fatal astroid-error F0002
ebcpy/modelica/__init__.py: Fatal error while checking 'ebcpy/modelica/__init__.py'. Please open an issue in our bug tracker so we address this. There is a pre-filled template that you can use in '/home/runner/.cache/pylint/pylint-crash-2026-05-29-12-44-00.txt'.

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

Line Col. Type Symbol ID Obj Message
7 0 error import-error E0401
Unable to import 'pandas'
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
1 0 refactor duplicate-code R0801
Similar lines in 2 files
==ebcpy.simulationapi.dymola_api:[1145:1156]
==ebcpy.simulationapi.fmu:[408:415]
        ))
        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:[451:459]
==ebcpy.simulationapi.fmu:[199:206]
        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.optimization:[106:119]
==ebcpy.simulationapi.__init__:[524:536]
        return self._working_directory

    @working_directory.setter
    def working_directory(self, working_directory: Union[Path, str]):
        """Set the 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

    def set_cd(self, cd: Union[Path, str]):
        warnings.warn("cd was renamed to working_directory in all classes. "
1 0 refactor duplicate-code R0801
Similar lines in 2 files
==ebcpy.simulationapi.dymola_api:[334:343]
==ebcpy.simulationapi.fmu:[199:205]
        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())))
22 0 convention line-too-long C0301
Line too long (106/100)
55 0 error import-error E0401
Unable to import 'scipy.io'
56 0 error import-error E0401
Unable to import 'pandas'
57 0 error import-error E0401
Unable to import 'numpy'
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-locals R0914 mat_to_pandas
Too many local variables (16/15)
254 0 refactor too-many-branches R0912 mat_to_pandas
Too many branches (15/12)
345 8 warning raise-missing-from W0707 mat_to_pandas
Consider explicitly re-raising using 'except KeyError as exc' and 'raise KeyError(f'Time column {time_key} not found in the data dictionary.') from exc'

Module ebcpy.optimization (ebcpy/optimization.py)

Line Col. Type Symbol ID Obj Message
1 0 fatal astroid-error F0002
ebcpy/optimization.py: Fatal error while checking 'ebcpy/optimization.py'. Please open an issue in our bug tracker so we address this. There is a pre-filled template that you can use in '/home/runner/.cache/pylint/pylint-crash-2026-05-29-12-43-59.txt'.
5 0 convention ungrouped-imports C0412
Imports from package os are not grouped
6 0 convention ungrouped-imports C0412
Imports from package pathlib are not grouped
7 0 convention ungrouped-imports C0412
Imports from package warnings are not grouped
50 0 convention line-too-long C0301
Line too long (111/100)
58 0 convention line-too-long C0301
Line too long (106/100)
150 0 convention line-too-long C0301
Line too long (115/100)
151 0 convention line-too-long C0301
Line too long (143/100)
355 0 convention line-too-long C0301
Line too long (103/100)
356 0 convention line-too-long C0301
Line too long (109/100)
558 0 convention line-too-long C0301
Line too long (107/100)
602 0 convention line-too-long C0301
Line too long (114/100)
603 0 convention line-too-long C0301
Line too long (106/100)

Module ebcpy.preprocessing (ebcpy/preprocessing.py)

Line Col. Type Symbol ID Obj Message
1 0 fatal astroid-error F0002
ebcpy/preprocessing.py: Fatal error while checking 'ebcpy/preprocessing.py'. Please open an issue in our bug tracker so we address this. There is a pre-filled template that you can use in '/home/runner/.cache/pylint/pylint-crash-2026-05-29-12-43-59.txt'.

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

Line Col. Type Symbol ID Obj Message
1 0 fatal astroid-error F0002
ebcpy/simulationapi/__init__.py: Fatal error while checking 'ebcpy/simulationapi/__init__.py'. Please open an issue in our bug tracker so we address this. There is a pre-filled template that you can use in '/home/runner/.cache/pylint/pylint-crash-2026-05-29-12-44-00.txt'.
442 0 convention line-too-long C0301
Line too long (111/100)
585 0 convention line-too-long C0301
Line too long (104/100)

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

Line Col. Type Symbol ID Obj Message
8 0 convention ungrouped-imports C0412
Imports from package warnings are not grouped
9 0 convention ungrouped-imports C0412
Imports from package os are not grouped
10 0 convention ungrouped-imports C0412
Imports from package sys are not grouped
12 0 convention ungrouped-imports C0412
Imports from package time are not grouped
13 0 convention ungrouped-imports C0412
Imports from package pathlib are not grouped

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 (1451/1000)
1 0 fatal astroid-error F0002
ebcpy/simulationapi/dymola_api.py: Fatal error while checking 'ebcpy/simulationapi/dymola_api.py'. Please open an issue in our bug tracker so we address this. There is a pre-filled template that you can use in '/home/runner/.cache/pylint/pylint-crash-2026-05-29-12-44-00.txt'.
13 0 convention ungrouped-imports C0412
Imports from package pathlib are not grouped
374 0 convention line-too-long C0301
Line too long (101/100)
398 0 convention line-too-long C0301
Line too long (102/100)
409 0 convention line-too-long C0301
Line too long (101/100)
436 0 convention line-too-long C0301
Line too long (107/100)
647 0 convention line-too-long C0301
Line too long (103/100)
670 0 convention line-too-long C0301
Line too long (101/100)
925 0 convention line-too-long C0301
Line too long (110/100)
940 0 convention line-too-long C0301
Line too long (106/100)
966 0 convention line-too-long C0301
Line too long (105/100)
1094 0 convention line-too-long C0301
Line too long (118/100)
1103 0 convention line-too-long C0301
Line too long (107/100)
1109 0 convention line-too-long C0301
Line too long (110/100)
1112 0 convention line-too-long C0301
Line too long (110/100)
1209 0 convention line-too-long C0301
Line too long (103/100)
1404 0 convention line-too-long C0301
Line too long (104/100)
1405 0 convention line-too-long C0301
Line too long (102/100)

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

Line Col. Type Symbol ID Obj Message
1 0 convention missing-module-docstring C0114
Missing module docstring
1 0 fatal astroid-error F0002
ebcpy/simulationapi/dymola_utils.py: Fatal error while checking 'ebcpy/simulationapi/dymola_utils.py'. Please open an issue in our bug tracker so we address this. There is a pre-filled template that you can use in '/home/runner/.cache/pylint/pylint-crash-2026-05-29-12-43-59.txt'.
140 0 convention line-too-long C0301
Line too long (108/100)
207 0 convention missing-final-newline C0304
Final newline missing

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

Line Col. Type Symbol ID Obj Message
1 0 fatal astroid-error F0002
ebcpy/simulationapi/fmu.py: Fatal error while checking 'ebcpy/simulationapi/fmu.py'. Please open an issue in our bug tracker so we address this. There is a pre-filled template that you can use in '/home/runner/.cache/pylint/pylint-crash-2026-05-29-12-44-00.txt'.
4 0 convention ungrouped-imports C0412
Imports from package os are not grouped
6 0 convention ungrouped-imports C0412
Imports from package atexit are not grouped
7 0 convention ungrouped-imports C0412
Imports from package shutil are not grouped
8 0 convention ungrouped-imports C0412
Imports from package pathlib are not grouped
82 0 convention line-too-long C0301
Line too long (107/100)
296 0 convention line-too-long C0301
Line too long (119/100)
357 0 convention line-too-long C0301
Line too long (108/100)

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

Line Col. Type Symbol ID Obj Message
1 0 fatal astroid-error F0002
ebcpy/utils/__init__.py: Fatal error while checking 'ebcpy/utils/__init__.py'. Please open an issue in our bug tracker so we address this. There is a pre-filled template that you can use in '/home/runner/.cache/pylint/pylint-crash-2026-05-29-12-43-59.txt'.

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

Line Col. Type Symbol ID Obj Message
6 0 convention ungrouped-imports C0412
Imports from package os are not grouped
8 0 convention ungrouped-imports C0412
Imports from package pathlib are not grouped

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

Line Col. Type Symbol ID Obj Message
1 0 fatal astroid-error F0002
ebcpy/utils/conversion.py: Fatal error while checking 'ebcpy/utils/conversion.py'. Please open an issue in our bug tracker so we address this. There is a pre-filled template that you can use in '/home/runner/.cache/pylint/pylint-crash-2026-05-29-12-43-59.txt'.

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

Line Col. Type Symbol ID Obj Message
1 0 fatal astroid-error F0002
ebcpy/utils/reproduction.py: Fatal error while checking 'ebcpy/utils/reproduction.py'. Please open an issue in our bug tracker so we address this. There is a pre-filled template that you can use in '/home/runner/.cache/pylint/pylint-crash-2026-05-29-12-43-58.txt'.

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

Line Col. Type Symbol ID Obj Message
4 0 error import-error E0401
Unable to import 'numpy'
5 0 error import-error E0401
Unable to import 'sklearn.metrics'
189 0 convention trailing-whitespace C0303
Trailing whitespace
203 0 convention trailing-whitespace C0303
Trailing whitespace
206 0 convention trailing-whitespace C0303
Trailing whitespace

Metrics

Count per types

Name Count
fatal 11
convention 62
error 6
refactor 9
warning 4

Count per messages

Name Count
astroid-error 11
line-too-long 35
trailing-whitespace 3
import-error 6
ungrouped-imports 15
missing-final-newline 1
missing-module-docstring 1
too-many-lines 1
too-many-locals 3
unspecified-encoding 3
consider-using-f-string 6
use-dict-literal 1
raise-missing-from 1
too-many-branches 1
duplicate-code 4

Count per modules

Name Count
ebcpy.utils.reproduction 1
ebcpy.data_types 4
ebcpy.optimization 13
ebcpy.preprocessing 1
ebcpy.utils.__init__ 1
ebcpy.utils.conversion 1
ebcpy.utils.statistics_analyzer 5
ebcpy.utils 2
ebcpy.simulationapi.dymola_utils 4
ebcpy.simulationapi.dymola_api 19
ebcpy.simulationapi.__init__ 3
ebcpy.simulationapi.fmu 8
ebcpy.modelica.manipulate_ds 8
ebcpy.simulationapi 5
ebcpy.modelica.__init__ 1
ebcpy.modelica.simres 16

Count per path

Name Count
ebcpy/utils/reproduction.py 1
ebcpy/data_types.py 4
ebcpy/optimization.py 13
ebcpy/preprocessing.py 1
ebcpy/utils/__init__.py 3
ebcpy/utils/conversion.py 1
ebcpy/utils/statistics_analyzer.py 5
ebcpy/simulationapi/dymola_utils.py 4
ebcpy/simulationapi/dymola_api.py 19
ebcpy/simulationapi/__init__.py 8
ebcpy/simulationapi/fmu.py 8
ebcpy/modelica/manipulate_ds.py 8
ebcpy/modelica/__init__.py 1
ebcpy/modelica/simres.py 16