You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
32 add namespace structure in the PlantUML result (#37)
* mentions the pyreverse alternative, closes#31
* prevents example.py from producing artifacts when being imported
* removed object inheritance, added comments and docstring
* WIP add namespace
* docs(readme): homogenize code formatting
* tests(astvisitors): shorten type annotations
* added py2puml footer
* do not version diagram files generated by the PlantUML vscode extension
* docs: comments about module resolver
* refactor(py2puml): externalize inspect_package for test reuse
* tests(namespace): add integration test with a deeply-nested namespace
* docs(readme): update the PlantUML diagram of the py2puml domain model
* fix(tests): remove undeclared variable, remove unused import
* tests(fixtures): mutualized fixtures for tests that parse modules
* refactor: remove merge files
* build(dependencies): update dev dependencies
poetry run pytest -v --cov=py2puml --cov-branch --cov-report term-missing --cov-fail-under 90
180
196
```
181
197
182
198
# Changelog
183
199
200
+
*`0.7.0`: improved the generated PlantUML documentation (added the namespace structure of the code base, homogenized type between inspection and parsing), improved relationships management (handle forward references, deduplicate relationships)
184
201
*`0.6.1`: handle class names with digits
185
202
*`0.6.0`: handle abstract classes
186
203
*`0.5.4`: fixed the packaging so that the contribution guide is included in the published package
@@ -231,6 +248,7 @@ Follow the [contributing guide](CONTRIBUTING.md).
231
248
232
249
If `py2puml` does not meet your needs (suggestions and pull-requests are **welcome**), you can have a look at these projects which follow other approaches (AST, linting, modeling):
233
250
251
+
*[pyreverse](https://pylint.pycqa.org/en/latest/additional_commands/index.html#pyreverse), which includes a PlantUML printer [since version 2.10.0](https://pylint.pycqa.org/en/latest/whatsnew/changelog.html?highlight=plantuml#what-s-new-in-pylint-2-10-0)
0 commit comments