| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
settings. #1481
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The old code would always wrap the regex in a needless `(?s:...)`
parenthesis. Path aliases are always single regexes, so they don't need
that extra wrapping. This makes logged path maps easier to understand.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added more branches to the code whose coverage is checked.
Add branch details to json report
The json report now includes for each branch which branches have been
executed, missed and what the percentage of covered branches was.
Add exiting branch arc to json report test
Update branch details format
Executed and missing branch arcs are stored in the fields named
'executed_branches' and 'missing_branches' respectively. Both fields
contain a list of two element lists. The first element represents the
source line number and the second one the target line number. Exit
branches have their target line number set to 0.
Fix linting errors
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|