Repository navigation
Improve test suite, reorganize to platform classes - #25
Conversation
Signed-off-by: Bernát Gábor <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #25 +/- ##
==========================================
+ Coverage 83.69% 90.82% +7.12%
==========================================
Files 7 12 +5
Lines 411 447 +36
Branches 85 45 -40
==========================================
+ Hits 344 406 +62
+ Misses 47 28 -19
+ Partials 20 13 -7
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
| "undoc-members": True, | ||
| } | ||
| autodoc_typehints = "signature" | ||
| intersphinx_mapping = {"python": ("https://docs.python.org/3", None)} |
There was a problem hiding this comment.
We should set default_role = "any" to get rid of all the :func: and :meth: role noise.
|
i took a initial look, and i don't see the need to have classes here at all, most of the behaviour is contained to modules in a way that should make a non-class using split straightforward at first none of the classes have sufficient state/behaviour that makes them a good choice, i'd really like to see a functional approach here |
| params.append(self.appname) | ||
| if self.version: | ||
| params.append(self.version) | ||
| return os.path.join(of, *params) |
There was a problem hiding this comment.
why is of still passed if its part of params?
There was a problem hiding this comment.
I guess shouldn't but why are the tests not catching this bug 🤔
As you might imagine, I strongly disagree. The class is useful in this case to:
Also, the classes are not strictly new. Before, we just did an awkward dance of mapping class calls to module-level private method calls. |
Signed-off-by: Bernát Gábor [email protected]