DSD-DBS / capellambse-context-diagrams

Extension for python-capella-mbse that adds automatically generated context diagrams for arbitrary model elements.
https://dsd-dbs.github.io/capellambse-context-diagrams/
Other
13 stars 0 forks source link

Upgrade to capellambse v0.6.x #131

Open Wuestengecko opened 1 month ago

Wuestengecko commented 1 month ago

This PR migrates the codebase to the new import structure and changed class names in capellambse v0.6.x.

The diff is a bit inflated, as I also took the opportunity to unify the imports, and also repair the mypy hook (so I could rely on it during the migration). The latter uncovered a variety of type errors, which I then also went ahead and fixed. I didn't touch any of the logic (as far as I could), so there shouldn't be any breakage.

I've marked the commit as breaking change, to try and make downstream more aware of this upgrade.