mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-07 03:55:22 +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.
|
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
|
$ export CA_BUNDLE="/certs/path/certificates.pem" # for nix OS
|
||||||
|
|
||||||
$ set CA_BUNDLE="C:/certs/path/certificates.pem" # for win OS
|
$ set CA_BUNDLE="C:/certs/path/certificates.pem" # for win OS
|
||||||
|
|
||||||
6. Commit your changes and push your branch to GitHub::
|
6. Commit your changes and push your branch to GitHub::
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
# fix_SSLError tests.settings (optional) use of .env file
|
# fix_SSLError tests.settings (optional) use of .env file
|
||||||
# alternative would be to set CA_BUNDLE environment variable
|
# 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
|
python-dotenv
|
||||||
|
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@ -25,8 +28,9 @@ flake8
|
|||||||
tox # only needed in the environment from which tox is run
|
tox # only needed in the environment from which tox is run
|
||||||
|
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
# (optional, personal choice)
|
# (optional)
|
||||||
# vscode settings: "python.formatting.provider": "black",
|
# vscode settings: "python.formatting.provider": "black",
|
||||||
#black
|
#black
|
||||||
|
docutils # reStructured Text support
|
||||||
|
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -6,6 +6,11 @@ test_pipreqs
|
|||||||
----------------------------------
|
----------------------------------
|
||||||
|
|
||||||
Tests for `pipreqs` module.
|
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
|
import os
|
||||||
|
Loading…
x
Reference in New Issue
Block a user