fix for SSLError - new arg --verify <CA_BUNDLE>
#348
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SSLError #346 final
implementation of new arg (--verify <CA_BUNDLE> to allow requests.get setting of verify arg
testing updates
dotnet
used with testing to allow.env.test
file for setting CA_BUNDLE environment variabletests_requirements
to setup.py to support$ python setup.py test
requirements-dev.txt
to support development (includes black for formatting)settings.py
file used in testing to read in either environment variable or .env.test variablepython-version: [3.7, 3.8, 3.9, pypy-3.7]
)doc updates
--verify
optionfinal tox runs attached
.vscode directory added (it can be ignored if not of interest, my bad)
Cheers
last bit/suggestion
CONTRIBUTING.rst
with note on setting CA_BUNDLE if needed (see below)When you're done making changes, check that your changes pass flake8 and the tests, including testing other Python versions with tox::
$ flake8 pipreqs tests > flake8_pipreqs_tests_results.txt
if needed, set the CA_BUNDLE value in the
.env.test
file located in tests/ (or set an environment variable)$ python setup.py test > python_setup_tests_pipreqs_results.txt
$ tox > tox_pipreqs_results.txt