mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-06 03:25:21 +00:00
sync with branch
This commit is contained in:
parent
81b47be643
commit
40a9f181a7
@ -85,6 +85,7 @@ Ready to contribute? Here's how to set up `pipreqs` for local development.
|
||||
You may also need to provide `CA_BUNDLE` as an environment variable or parameter in the `tests/.env.test` file.
|
||||
|
||||
$ export CA_BUNDLE="/certs/path/certificates.pem" # for nix OS
|
||||
|
||||
$ set CA_BUNDLE="C:/certs/path/certificates.pem" # for win OS
|
||||
|
||||
6. Commit your changes and push your branch to GitHub::
|
||||
|
@ -17,6 +17,9 @@
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
# fix_SSLError tests.settings (optional) use of .env file
|
||||
# alternative would be to set CA_BUNDLE environment variable
|
||||
# $ export CA_BUNDLE="/certs/path/certificates.pem" # for nix OS
|
||||
# $ set CA_BUNDLE="C:/certs/path/certificates.pem" # for win OS
|
||||
|
||||
python-dotenv
|
||||
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@ -25,8 +28,9 @@ flake8
|
||||
tox # only needed in the environment from which tox is run
|
||||
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
# (optional, personal choice)
|
||||
# (optional)
|
||||
# vscode settings: "python.formatting.provider": "black",
|
||||
#black
|
||||
docutils # reStructured Text support
|
||||
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
@ -6,6 +6,11 @@ test_pipreqs
|
||||
----------------------------------
|
||||
|
||||
Tests for `pipreqs` module.
|
||||
|
||||
Environment variables used to mock arguments
|
||||
e.g.,
|
||||
$ set CA_BUNDLE="certificates.pem" # for win OS
|
||||
$ export CA_BUNDLE="certificates.pem" # for nix OS
|
||||
"""
|
||||
|
||||
import os
|
||||
|
Loading…
x
Reference in New Issue
Block a user