Conversation
|
That last commit was generated by GitHub after i fat fingered on GitHub mobile. I will have to figure out what exactly it did. |
|
So I noticed that I could fix the poetry errors by simply bumping the pylint dependency. This made made the sub-dependency on typed-ast go from 1.4.2 (which causes the installation issues) to 1.5.4. Edit: Apparently this causes a merge conflict, that I don't really know what to do with right now. Open to input here. |
|
The nose testing library is no longer maintained and is incompatible with python 3.10. I am going to solve this for now by including a maximum python version of 3.9, but this is clearly not a sustainable solution. |
|
I am thinking that it might make more sense to do the "maintenance" commits in a separate PR. Especially because of the depreciation of nosetest. I personally favor pytest, but I read that there also is a nose2. What is your opinion about this? Edit: apparently this was dealth with in commits since weditor's PR. I am now looking to do a maintenance update from the current master and then merge weditors PR into that. |
Note that this was run with --ignore-missing-imports.
Also fixed minor error from the merge
|
I reworked master to be based of the maintenance PR (#178) so that it would be easier to run the tests, linting etc. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
@EntilZha I'm looking into using pyfunctional, and getting type checking for the most common operations (i.e. application of anonymous functions with We could add a Is that an acceptable MVP for getting this PR? |
|
An alternative, if you'd prefer to avoid runtime type checking in the library code, would be asserting something like |
|
@EntilZha, just pinging this once! Alternatively, I might make a simple implementation of PyFunctional as a fork :-) |
|
Hey, sorry for the delay @MartinBernstorff, was camping/busy. To help maximize chance we get some more typing into pyfunctional:
My suggestion on bang for buck on typing is to take the generic type changes and make a clean PR with them on main (i.e., the |
|
FYI, I made a quick PR that adds mypy with it passing, so should be able to make a PR with just adding types now. |
|
Awesome! I'll take a look in the coming days 👍 |
|
How is this coming along? Would be awesome to have proper typing. |
This should add the desired unit testing for typing.
The pull request is based on weditors pull request for type hints.
TODO:
typing.Sequencetype for use inSequence._base_sequence