summaryrefslogtreecommitdiff
path: root/coverage
Commit message (Collapse)AuthorAgeFilesLines
* wip: more specific errors for plugin problemsnedbat/plugin-error-handlingNed Batchelder2021-06-121-6/+5
|
* feat: soft keywords are shown in bold in the HTML reportNed Batchelder2021-06-062-3/+40
| | | | | | | | The match and case soft keywords are shown in bold when they are keywords, and not when they are not. The underscore soft keyword is ignored, because it is harder to get right, and because it doesn't look that much different in bold anyway.
* feat: add support for Python 3.10 match-case statementsNed Batchelder2021-06-062-0/+24
|
* fix: in Python 3.10, leaving a with block exits through the with statement.Ned Batchelder2021-06-052-9/+77
| | | | This need 3.10.0b3 (not yet released) to fully pass.
* refactor: no need for clever byte_parser propertyNed Batchelder2021-06-051-10/+3
| | | | | It was only ever used once per object, so just make the ByteParser when we need it.
* test: add a test for annotated assignmentNed Batchelder2021-06-051-1/+4
| | | | | | | | | Every statement-level ast node should be tested. Annotated assignment was missing. Also, we don't need "exec" anymore, that was only for Python 2. And: this is the 1000th test!
* test: during testing, be strict about handling all ast nodesNed Batchelder2021-06-041-4/+3
|
* refactor: better naming for a code object dispatcherNed Batchelder2021-06-041-14/+16
|
* refactor: delegate to blocks and avoid isinstanceNed Batchelder2021-06-041-38/+87
|
* refactor: remove things only needed for Python 2Ned Batchelder2021-06-041-26/+1
|
* fix: use more explicit names for some debug informationNed Batchelder2021-06-021-2/+2
|
* refactor: remove globals from NumbersNed Batchelder2021-06-016-39/+33
|
* fix: --fail-under=100 could report 100 is less than 100.Ned Batchelder2021-05-312-10/+20
| | | | | | | Use the same rounding rules for the fail-under message that are used for totals everywhere else, so that it won't say: total of 100 is less than fail-under=100
* feat: warnings are now real warningsNed Batchelder2021-05-304-14/+15
| | | | | | This makes coverage warnings visible when running test suites under pytest. But it also means some uninteresting warnings would show up in our own test suite, so we had to catch or suppress those.
* feat: include some usual env vars in debug-sysNed Batchelder2021-05-231-1/+4
|
* COVERAGE_DEBUG_FILE accepts "stdout" and "stderr"Ned Batchelder2021-05-231-1/+3
|
* fix: Python 3.8.10 changed how __file__ is reported when running directoriesNed Batchelder2021-05-111-0/+5
|
* docs: add a word to clarify an APINed Batchelder2021-05-081-1/+1
|
* fix: shorten the sqlite debug info listingNed Batchelder2021-05-041-2/+5
| | | | | | This is totally cosmetic. I often look at "coverage debug sys", and the long list of SQLite info at the end is never the thing I want to look at. So squish it up to take less space.
* refactor: get rid of My* version shims we don't need anymoreNed Batchelder2021-05-033-39/+19
|
* fix: make data collection operations thread-safeNed Batchelder2021-05-031-0/+20
|
* refactor: remove redundant Python 2 code (#1155)Hugo van Kemenade2021-05-021-1/+1
| | | | | | | | | | | * Remove Python 2 code * Upgrade Python syntax with pyupgrade * Upgrade Python syntax with pyupgrade --py3-plus * Upgrade Python syntax with pyupgrade --py36-plus * Remove unused imports
* refactor: convert more %-formatting to f-stringsNed Batchelder2021-05-024-20/+20
|
* refactor: remove a now no-op functionNed Batchelder2021-05-022-13/+6
|
* refactor: move exceptions to their own moduleNed Batchelder2021-05-0220-64/+79
|
* build: update to latest pylintgood-metaNed Batchelder2021-05-023-3/+0
|
* refactor: remove unneeded Py2 C codeNed Batchelder2021-05-022-59/+0
|
* refactor: remove a few more version checksNed Batchelder2021-05-025-25/+9
|
* refactor: pyupgrade --py36-plus coverage/*.pyNed Batchelder2021-05-0229-251/+243
|
* build: next version will be 6.0, dropping support for 2.7 & 3.5Ned Batchelder2021-05-011-1/+1
|
* refactor: move the remaining backward.py code, no more backward.pyNed Batchelder2021-05-015-163/+58
|
* refactor: remove some unneeded behavior conditionalsNed Batchelder2021-05-012-18/+2
|
* refactor: remove yet more unneeded backward.py shimsNed Batchelder2021-05-014-43/+14
| | | | | | | | Gone are: - PYC_MAGIC_NUMBER - code_object - SimpleNamespace
* refactor: remove more unneeded backward.py shimsNed Batchelder2021-05-0113-110/+33
| | | | | | | | | | | | | | Gone are: - iitems - litems - iternext - to_bytes - to_string - binary_bytes - byte_to_int - bytes_to_ints - BUILTINS
* refactor: remove unneeded backward.py shimsNed Batchelder2021-05-0110-101/+29
| | | | | | | | | | | | | | | Removed were: - StringIO - configparser - string_class - unicode_class - range - zip_longest - get_thread_id - path_types - shlex_quote - reprlib
* refactor: remove code explicitly choosing between py2 and py3Ned Batchelder2021-05-0116-243/+41
|
* fix: don't warn that dynamic plugins already imported their source files. #1150Ned Batchelder2021-05-011-0/+5
|
* docs: clarify that loads/dumps are not related to data filesNed Batchelder2021-04-191-1/+8
|
* Use current_thread instead of currentThread that was deprecated in Python 3.10Karthikeyan Singaravelan2021-04-171-4/+4
|
* build: make tags like 5.6.1 not coverage-5.6.1Ned Batchelder2021-04-151-1/+1
|
* fix: correct slight mis-layout of the hotkey panelsNed Batchelder2021-04-135-12/+12
|
* build: bump version to 5.6b2Ned Batchelder2021-04-121-1/+1
|
* fix: pypy3 7.3.4 uses a non-empty sys.path[0]Ned Batchelder2021-04-121-1/+4
|
* fix: adapt to 3.10.0a7's f_lasti fieldNed Batchelder2021-04-112-1/+9
|
* fix: restore metacov functioningNed Batchelder2021-04-111-2/+0
| | | | | | | The check for coverage files inside the --source check disables our metacoverage. Removing it means that coverage files will still not be measured, but the reason will be given as "is third-party" rather than "is part of coverage.py," which is a small price to pay.
* fix: restore html report selection highlightingNed Batchelder2021-04-111-7/+2
|
* fix: don't measure third-party scriptsnedbat/bin-excludeNed Batchelder2021-04-111-14/+22
| | | | | | This finishes the last bit of #905 Also includes tighter logging of the reason for not tracing modules.
* debug: label each matcher with its roleNed Batchelder2021-04-113-15/+18
|
* fix: don't measure third-party packagesNed Batchelder2021-04-102-10/+95
| | | | | | | | | | | | Avoid measuring code located where third-party packages get installed. We have to take care to measure --source code even if it is installed in a third-party location. This also fixes #905, coverage generating warnings about coverage being imported when it will be measured. https://github.com/nedbat/coveragepy/issues/876 https://github.com/nedbat/coveragepy/issues/905
* fix: make TreeMatcher right for case-sensitive worldsNed Batchelder2021-04-101-2/+4
|