Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split on == and ~= for requirements.txt #185

Merged
merged 2 commits into from
Feb 12, 2021
Merged

Conversation

DarthHater
Copy link
Member

Basically, this allows someone to have ~= in their requirements.txt and still get results

This pull request makes the following changes:

  • Makes the split a regex

cc @bhamail / @DarthHater

* fix: handled case where trailing slash is in the IQ endpoint setting leading to an invalid report url

* put it up top in the constructor

* changed string casting in iq component model constructor and joined report url using the URL object
Copy link
Contributor

@ButterB0wl ButterB0wl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested and looks good to me after merging trailing slash changes

@ButterB0wl ButterB0wl merged commit b288252 into main Feb 12, 2021
@ButterB0wl ButterB0wl deleted the PyPISplitOnMultipleThings branch February 12, 2021 18:28
brent-spiner pushed a commit that referenced this pull request Feb 12, 2021
## [1.0.20](v1.0.19...v1.0.20) (2021-02-12)

### Bug Fixes

* Split on == and ~= for requirements.txt ([#185](#185)) ([b288252](b288252)), closes [#184](#184)
@brent-spiner
Copy link

🎉 This PR is included in version 1.0.20 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants