langchain
langchain copied to clipboard
unit test / code coverage improvements
This PR has two contributions:
-
Add test for when stop token is found in middle of text
-
Add code coverage tooling and instructions
- Add pytest-cov via poetry
- Add necessary config files
- Add new make instruction for
coverage
- Update README with coverage guidance
- Update minor README formatting/spelling
@hwchase17 Merge conflicts resolved and poetry update made, Still looks like the automated build is failing for some reason/
I'm not a poetry expert, but I suspect it has something to do with my version of poetry building lock files in v2 format, while the original is still in v1.
Yup - that was it :tada:
Created a separate PR to specifically address the version bump...
https://github.com/hwchase17/langchain/pull/328
Yup - that was it 🎉
Created a separate PR to specifically address the version bump...
#328
got it - thanks for debugging! will just merge this one. locally i was on poetry version 1.2.2 (which has forward compatability with v2 format) so this wont actually affect me (and other people on that version)
Thanks for doing this!