Mercurial > kallithea
view requirements.txt @ 8852:252b86664549
pytype: add some assertions to guide pytype through const dict with tricky typing structure
These assertions also make the code more explicit and slightly more readable.
Mute pytype warnings:
File "kallithea/tests/vcs/base.py", line 76, in setup_repo: No attribute 'path' on str [attribute-error]
In Union[kallithea.lib.vcs.nodes.FileNode, nothing, str]
File "kallithea/tests/vcs/base.py", line 76, in setup_repo: No attribute 'content' on str [attribute-error]
In Union[kallithea.lib.vcs.nodes.FileNode, nothing, str]
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 18 Aug 2020 21:22:32 +0200 |
parents | 941548131765 |
children |
line wrap: on
line source
# requirements.txt file for use as "pip install -r requirements.txt" as a # readthedocs compatible alternative to "pip install -e ." which is a working # alternative to "setup.py develop" which doesn't work with Mercurial 3.7 .