| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| # name when present. | ||
| assert location | ||
| assert decompressor | ||
| if not location: raise ValueError("Invalid file location: Location cannot be none or empty.") |
There was a problem hiding this comment.
Good. Can you also add a test?
Sorry, something went wrong.
There was a problem hiding this comment.
Do you mean to add a unittest or pytest to verify that the new code behaves as expected?
Sorry, something went wrong.
There was a problem hiding this comment.
Also: you are missing a signoff and you need to read https://aboutcode.readthedocs.io/en/latest/contributing/writing_good_commit_messages.html
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes issue in extracode repo: src/extractcode/uncompress.py
aboutcode-org/aboutcode#175
Signed-off by Shafi456 (shafiul.azam@g.bracu.ac.bd)