Mercurial > kallithea
view .hgignore @ 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 | 52816813cbec |
children | 278cc5936ed5 |
line wrap: on
line source
syntax: glob *.pyc *.swp *.sqlite *.tox *.egg-info *.egg *.mo *.orig *.rej *.bak .eggs/ syntax: regexp ^extensions\.py$ ^build$ ^dist$ ^docs/build$ ^docs/_build$ ^data$ ^sql_dumps$ ^\.settings$ ^\.project$ ^\.pydevproject$ ^\.coverage$ ^kallithea/front-end/node_modules$ ^kallithea/front-end/package-lock\.json$ ^kallithea/front-end/theme\.less$ ^kallithea/front-end/tmp$ ^kallithea/public/codemirror$ ^kallithea/public/css/select2-spinner\.gif$ ^kallithea/public/css/select2\.png$ ^kallithea/public/css/select2x2\.png$ ^kallithea/public/css/style\.css$ ^kallithea/public/css/style\.css\.map$ ^kallithea/public/js/bootstrap\.js$ ^kallithea/public/js/dataTables\.bootstrap\.js$ ^kallithea/public/js/jquery\.atwho\.min\.js$ ^kallithea/public/js/jquery\.caret\.min\.js$ ^kallithea/public/js/jquery\.dataTables\.js$ ^kallithea/public/js/jquery\.flot\.js$ ^kallithea/public/js/jquery\.flot\.selection\.js$ ^kallithea/public/js/jquery\.flot\.time\.js$ ^kallithea/public/js/jquery\.min\.js$ ^kallithea/public/js/select2\.js$ ^kallithea\.db$ ^test\.db$ ^Kallithea\.egg-info$ ^my\.ini$ ^fabfile\.py$ ^\.idea$ ^\.cache$ ^\.pytest_cache$ ^venv$ /__pycache__$ ^deps\.dot$ ^deps\.svg$ ^deps\.txt$