Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix: --fail-under=100 could report 100 is less than 100. | Ned Batchelder | 2021-05-31 | 2 | -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 warnings | Ned Batchelder | 2021-05-30 | 4 | -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-sys | Ned Batchelder | 2021-05-23 | 1 | -1/+4 | |
| | ||||||
* | COVERAGE_DEBUG_FILE accepts "stdout" and "stderr" | Ned Batchelder | 2021-05-23 | 1 | -1/+3 | |
| | ||||||
* | fix: Python 3.8.10 changed how __file__ is reported when running directories | Ned Batchelder | 2021-05-11 | 1 | -0/+5 | |
| | ||||||
* | docs: add a word to clarify an API | Ned Batchelder | 2021-05-08 | 1 | -1/+1 | |
| | ||||||
* | fix: shorten the sqlite debug info listing | Ned Batchelder | 2021-05-04 | 1 | -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 anymore | Ned Batchelder | 2021-05-03 | 3 | -39/+19 | |
| | ||||||
* | fix: make data collection operations thread-safe | Ned Batchelder | 2021-05-03 | 1 | -0/+20 | |
| | ||||||
* | refactor: remove redundant Python 2 code (#1155) | Hugo van Kemenade | 2021-05-02 | 1 | -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-strings | Ned Batchelder | 2021-05-02 | 4 | -20/+20 | |
| | ||||||
* | refactor: remove a now no-op function | Ned Batchelder | 2021-05-02 | 2 | -13/+6 | |
| | ||||||
* | refactor: move exceptions to their own module | Ned Batchelder | 2021-05-02 | 20 | -64/+79 | |
| | ||||||
* | build: update to latest pylintgood-meta | Ned Batchelder | 2021-05-02 | 3 | -3/+0 | |
| | ||||||
* | refactor: remove unneeded Py2 C code | Ned Batchelder | 2021-05-02 | 2 | -59/+0 | |
| | ||||||
* | refactor: remove a few more version checks | Ned Batchelder | 2021-05-02 | 5 | -25/+9 | |
| | ||||||
* | refactor: pyupgrade --py36-plus coverage/*.py | Ned Batchelder | 2021-05-02 | 29 | -251/+243 | |
| | ||||||
* | build: next version will be 6.0, dropping support for 2.7 & 3.5 | Ned Batchelder | 2021-05-01 | 1 | -1/+1 | |
| | ||||||
* | refactor: move the remaining backward.py code, no more backward.py | Ned Batchelder | 2021-05-01 | 5 | -163/+58 | |
| | ||||||
* | refactor: remove some unneeded behavior conditionals | Ned Batchelder | 2021-05-01 | 2 | -18/+2 | |
| | ||||||
* | refactor: remove yet more unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 4 | -43/+14 | |
| | | | | | | | | Gone are: - PYC_MAGIC_NUMBER - code_object - SimpleNamespace | |||||
* | refactor: remove more unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 13 | -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 shims | Ned Batchelder | 2021-05-01 | 10 | -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 py3 | Ned Batchelder | 2021-05-01 | 16 | -243/+41 | |
| | ||||||
* | fix: don't warn that dynamic plugins already imported their source files. #1150 | Ned Batchelder | 2021-05-01 | 1 | -0/+5 | |
| | ||||||
* | docs: clarify that loads/dumps are not related to data files | Ned Batchelder | 2021-04-19 | 1 | -1/+8 | |
| | ||||||
* | Use current_thread instead of currentThread that was deprecated in Python 3.10 | Karthikeyan Singaravelan | 2021-04-17 | 1 | -4/+4 | |
| | ||||||
* | build: make tags like 5.6.1 not coverage-5.6.1 | Ned Batchelder | 2021-04-15 | 1 | -1/+1 | |
| | ||||||
* | fix: correct slight mis-layout of the hotkey panels | Ned Batchelder | 2021-04-13 | 5 | -12/+12 | |
| | ||||||
* | build: bump version to 5.6b2 | Ned Batchelder | 2021-04-12 | 1 | -1/+1 | |
| | ||||||
* | fix: pypy3 7.3.4 uses a non-empty sys.path[0] | Ned Batchelder | 2021-04-12 | 1 | -1/+4 | |
| | ||||||
* | fix: adapt to 3.10.0a7's f_lasti field | Ned Batchelder | 2021-04-11 | 2 | -1/+9 | |
| | ||||||
* | fix: restore metacov functioning | Ned Batchelder | 2021-04-11 | 1 | -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 highlighting | Ned Batchelder | 2021-04-11 | 1 | -7/+2 | |
| | ||||||
* | fix: don't measure third-party scriptsnedbat/bin-exclude | Ned Batchelder | 2021-04-11 | 1 | -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 role | Ned Batchelder | 2021-04-11 | 3 | -15/+18 | |
| | ||||||
* | fix: don't measure third-party packages | Ned Batchelder | 2021-04-10 | 2 | -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 worlds | Ned Batchelder | 2021-04-10 | 1 | -2/+4 | |
| | ||||||
* | refactor: move stdlib and coverage location logic into functions | Ned Batchelder | 2021-04-10 | 1 | -29/+41 | |
| | ||||||
* | fix: remove debugging code I checked in by accident | Ned Batchelder | 2021-03-19 | 1 | -3/+0 | |
| | ||||||
* | style: correct two recent lint faux pas | Ned Batchelder | 2021-03-18 | 2 | -1/+4 | |
| | ||||||
* | docs: clarify the --source values | Ned Batchelder | 2021-03-18 | 1 | -1/+1 | |
| | | | | | | On the Test & Code podcast (https://testandcode.com/148) Brian Okken explained why the old wording was confusing. I hope this makes it clearer. | |||||
* | refactor: remove unused encoding parameter | Ned Batchelder | 2021-03-14 | 1 | -2/+2 | |
| | ||||||
* | docs: note what pep626 is | Ned Batchelder | 2021-03-14 | 1 | -0/+2 | |
| | ||||||
* | tool: more information about the location of ast nodes when debugging | Ned Batchelder | 2021-03-13 | 1 | -1/+6 | |
| | ||||||
* | refactor: pull module cleaning into here | Ned Batchelder | 2021-03-11 | 1 | -6/+0 | |
| | | | | We don't need unittest_mixins' module cleaner anymore. | |||||
* | feat: percent_covered_display in the JSON reportnedbat/tweak-metacov | Ned Batchelder | 2021-03-02 | 1 | -0/+2 | |
| | ||||||
* | refactor: remove unused code paths | Ned Batchelder | 2021-02-28 | 1 | -18/+20 | |
| | ||||||
* | build: version bump | Ned Batchelder | 2021-02-28 | 1 | -1/+1 | |
| | ||||||
* | build: version 5.5 prep | Ned Batchelder | 2021-02-28 | 1 | -1/+1 | |
| |