diff options
author | Frank Harrison <frank@doublethefish.com> | 2020-04-03 08:21:45 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-11-27 08:42:30 +0100 |
commit | 385533894664465c936fc672c29e3c70d8ac0fdf (patch) | |
tree | ff63a1aa466c12d93c9f38f40f6e13f0dba5529f /tox.ini | |
parent | 9d4f2c082e4f17fb5165deb0c9e4a0fd329d5cbd (diff) | |
download | pylint-git-385533894664465c936fc672c29e3c70d8ac0fdf.tar.gz |
profile| Runs pylint against external code, generating profile-heatmaps
* Use https gitub uri so we do not need creditials
* Shallow clone so we don't pull more data than we need
* Ensure we skip external profiling unless explicitly wanted
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -157,4 +157,21 @@ commands = --benchmark-group-by="group" \ {posargs:} +[testenv:profile_against_external] +deps = + https://github.com/PyCQA/astroid/tarball/master#egg=astroid-master-2.0 + gprof2dot + mccabe + pytest + pytest-profiling + pytest-xdist + +setenv = + PYTEST_PROFILE_EXTERNAL = 1 + +commands = + python -Wi -m pytest --exitfirst \ + --profile-svg \ + {toxinidir}/tests/profile/test_profile_against_externals.py + changedir = {toxworkdir} |