| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
By avoiding writing metadata that differs but doesn't change the data,
we get a higher hitrate on the hash-checking when combining.
Use --debug=process to include these details for debugging.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add support for namespace packages
* fixed typo
* update documentation
* fixed lint issues
* changed versionadded
* convert to config setting
* removed pure formatting changes
* code review changes
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
|
| |
|
|
|
|
| |
Unless the actual result in the config starts with ./
|
|
|
|
| |
Because the last pattern in G2RX_TOKENS is ".", so it always matches.
|
|
|
|
|
|
|
|
|
| |
When generating many parallel data files, often some data files will be exact
copies of each other. Checking the hashes, we can avoid combining the
duplicates, speeding the process.
On a coverage.py metacov, we had 651 duplicates out of 2189 files (29%).
The time to combine was reduced by 17%.
|
| |
|
|
|
|
| |
This was a holdover from Python 2 days.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* refactoring normal reporting text output
* implemented markdown feature from #1418
* minor changes
* fixed text output
* fixed precision for text and markdown report format
* minor changes
* finished testing for markdown format feature
* fixed testing outside test_summary.py
* removed fixed-length widespace padding for tests
* removed whitespaces
* refactoring, fixing docs, rewriting cmd args
* fixing code quality
* implementing requested changes
* doc fix
* test: add another test of correct report formatting
* fixed precision printing test
* style: adjust the formatting
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
I didn't understand that fnmatch considers the entire string to be a
filename, even if it has slashes in it. This led to incorrect matching.
Now we use our own implementation of glob matching to get the correct
behavior.
|
| |
|
|
|
|
| |
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
|