Changeset - 278cc5936ed5
[Not reviewed]
default
0 2 1
Mads Kiilerich - 5 years ago 2021-01-14 23:03:52
mads@kiilerich.com
Grafted from: 4ed6d75d959e
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
3 files changed with 22 insertions and 0 deletions:
0 comments (0 inline, 0 general)
.hgignore
Show inline comments
 
@@ -56,3 +56,4 @@ syntax: regexp
 
^deps\.dot$
 
^deps\.svg$
 
^deps\.txt$
 
^\.pytype/
pytype_requirements.txt
Show inline comments
 
new file 100644
 
# 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
setup.cfg
Show inline comments
 
@@ -35,3 +35,14 @@ all_files = 1
 

	
 
[upload_sphinx]
 
upload-dir = docs/_build/html
 

	
 
[pytype]
 
inputs =
 
    kallithea
 
    setup.py
 
exclude =
 
    **/test_*.py
 
disable =
 
    pyi-error
 
keep_going = True
 
#jobs = 3
0 comments (0 inline, 0 general)