Mercurial > kallithea
changeset 8854:278cc5936ed5
pytype: introduce configuration for running pytype
Install pytype and dependencies on Python 3.8 with:
pip install --upgrade -r pytype_requirements.txt
Checks can then be run with:
pytype
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 14 Jan 2021 23:03:52 +0100 |
parents | 7b58d01e925a |
children | 129244cfc086 |
files | .hgignore pytype_requirements.txt setup.cfg |
diffstat | 3 files changed, 22 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Sat Feb 06 21:39:27 2021 +0100 +++ b/.hgignore Thu Jan 14 23:03:52 2021 +0100 @@ -56,3 +56,4 @@ ^deps\.dot$ ^deps\.svg$ ^deps\.txt$ +^\.pytype/
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pytype_requirements.txt Thu Jan 14 23:03:52 2021 +0100 @@ -0,0 +1,10 @@ +# Note: pytype currently only supports Python3.8 +pytype == 2021.1.8 +# optional modules that we want for pytype checking +appenlight_client +ipython +kajiki +psycopg2 +python-ldap +python-pam +tgext.debugbar