| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
| |
Revert "refactor: we no longer need to treat 'class' lines specially"
This reverts commit 79f9f4575321fafc2ef770e3255f874db3d4b037.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before these changes, these violations happened:
```
lint run-test: commands[6] | python -m pylint --notes= coverage tests doc ci igor.py setup.py __main__.py
************* Module coverage.parser
coverage/parser.py:1290 I: Useless suppression of 'too-many-function-args' (useless-suppression)
************* Module ci.download_gha_artifacts
ci/download_gha_artifacts.py:18 W: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout)
ci/download_gha_artifacts.py:54 W: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout)
************* Module ci.trigger_build_kits
ci/trigger_build_kits.py:21 W: Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely (missing-timeout)
************* Module ci.github_releases
ci/github_releases.py:138 E: Too many positional arguments for function call (too-many-function-args)
ci/github_releases.py:138 I: Useless suppression of 'no-value-for-parameter' (useless-suppression)
************* Module ci.comment_on_fixes
ci/comment_on_fixes.py:30 W: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout)
ci/comment_on_fixes.py:37 W: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout)
ci/comment_on_fixes.py:49 W: Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely (missing-timeout)
************* Module ci.parse_relnotes
ci/parse_relnotes.py:126 E: Too many positional arguments for function call (too-many-function-args)
ci/parse_relnotes.py:126 I: Useless suppression of 'no-value-for-parameter' (useless-suppression)
```
|
| |
|
| |
|
|
|
|
| |
Found by OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50381
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Fix paths when running coverage from root
* Add simple tests
* Use nested pattern for older python versions
|
|
|
|
|
| |
* Fix globbing of filenames that contain special glob characters
* glob the path as well as the filename
|
|
|
|
|
|
|
|
|
| |
In the HTML report, if the "filter" input contains a value when
the page loads, it is ignored. This happens even though an event
is actually created on start-up to trigger the refresh.
I believe this is a regression introduced in
9a1954a224c7c0f578513d8f4ca5f821fcf2cf5a, when the observed
events changed from "keyup change" to "input".
|
| |
|
| |
|
|
|
|
|
| |
volume on win32 (#1428) (#1430)
Co-authored-by: Lorenzo Micò <lmico@dxc.com>
|
| |
|
|
|
|
| |
https://foss.heptapod.net/pypy/pypy/-/issues/3792
|
| |
|
| |
|
|
|
|
|
| |
CPython added these lines in
https://github.com/python/cpython/commit/1bfe83a114da3939c00746fc44dc5da7f56f525f
|
| |
|
|
|
|
| |
This should have been part of 80211966 from 2021-10-18.
|
|
|
|
|
| |
object. (#1399)
At least this won't trip anyone iterating through sys.modules and expects the values are actual modules.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cache the bound method of _trace on self
this speeds up pure python tracing because we don't have to re-create a
bound method object all the time
* optimize checking whether a file should be traced
the optimization works based on the following heuristic: in a
majority of cases, functions call other functions in the same file. In
that situation we don't have to re-check whether we should trace the
file
* fix optimization in the presence of contexts
* fix too long line
|
|
|
|
|
| |
Someone thought we didn't use semantic versioning because we said "6.4" instead
of "6.4.0". Don't trim .0.
|
| |
|
|
|
|
|
|
|
|
|
| |
use the python >= 3.7 feature of being able to disable line tracing by
setting the frame attribute f_trace_lines to False. This can be used for
the frames of functions that we aren't collecting coverage information
for (eg those functions in the stdlib).
This speeds up the pure python tracer in CPython by ~9x and in PyPy by
80% on a coverage run of one realistic project that I tried.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This is a re-implementation of pull #1354.
|
|
|
|
|
| |
Previously, the next link might refer to a file that was skipped because it was
empty or 100% covered. Now they do not.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On each page the shortcuts '[' and ']' will take you to the previous and
next files respectively. On the index page they take you to the final
and first files respectively.
Pressing 'u' while on a file will now take you back to index.html, like
on Gerrit.
'?' opens and closes the help panel.
Test cases:
$ pytest --cov-report html --cov=. tests.py
in a directory with just tests.py, then with one, two or three .py
files.
Tested on Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:99.0) Gecko/20100101 Firefox/99.0
|
| |
|