Skip to content

v0.2.5

Compare
Choose a tag to compare
@ClaasRostock ClaasRostock released this 01 Dec 16:54
· 320 commits to main since this release

Changed

  • variable.py: get_fmi_data_type():
    • Removed the elif branch 'isinstance(arg, Sequence)'.
      It caused problems as it falsely returned the FMI type 'Enumeration' also for strings.
      The respective elif branch is for the time being commented out.
      However, a proper solution is needed as soon as xs:enumeration is used in an OSP case.
      The problem is registered as Issue #5
  • Code formatting: Changed from yapf to black
  • STYLEGUIDE.md : Adjusted to match black formatting
  • VS Code settings: Updated to use black as formatter
  • requirements.txt: Updated dependencies to their most recent versions
  • GitHub actions (yml files): Updated following actions to their most recent versions:
    • checkout@v1 -> checkout@v3
    • setup-python@v2 -> setup-python@v4
    • cache@v2 -> cache@v3

Added

  • watchCosim: Added commandline option --scale
    (allows to scale the generated images by a factor)
  • Added sourcery configuration (.sourcery.yaml)
  • Added py.typed file into the package root folder and included it setup.cfg as package_data