Description
Documentation
I am attempting to run unit tests as preparation to submitting a PR. There are other problems on Linux, but this issue applies to Windows.
The setup instructions in CONTRIBUTING.md do not work on Windows. Presumably as a result, a large number of unit tests fail. The following instructions would seem to need modification:
1: source venv/bin/activate
Googling probably provides the workaround: define activate.cmd as venv\Scripts\activate
, and similarly for deactivate. Ah. Just now I see just now that the venv docs discuss the source
command.
hash -r
I have no idea what this means. Googling does not help and "hash" does not appear in venv.html. After:
python3 -m pip install -r test-requirements.txt
python3 -m pip install -e .
which hash
(Linux) and where hash
(Windows) yield nothing (either before and after activate).
Some file searching finds ...mypy\venv\Lib\site-packages\pip\_internal\commands\hash.py
, but various invocations of pip hash
, such as pip hash -r
and pip hash -r .
do not work.
Any help would be appreciated. Thanks.