Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | build: update build tools | Ned Batchelder | 2021-05-02 | 2 | -5/+4 | |
| | ||||||
* | test: update to latest pytest | Ned Batchelder | 2021-05-02 | 3 | -10/+6 | |
| | ||||||
* | build: update to latest pylintgood-meta | Ned Batchelder | 2021-05-02 | 6 | -7/+3 | |
| | ||||||
* | 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 | 11 | -50/+17 | |
| | ||||||
* | refactor: remove unneeded py2-only gold files | Ned Batchelder | 2021-05-02 | 2 | -161/+0 | |
| | ||||||
* | refactor: pyupgrade --py36-plus *.py | Ned Batchelder | 2021-05-02 | 2 | -19/+18 | |
| | ||||||
* | refactor: pyupgrade --py36-plus tests/**.py | Ned Batchelder | 2021-05-02 | 33 | -186/+171 | |
| | ||||||
* | refactor: pyupgrade --py36-plus coverage/*.py | Ned Batchelder | 2021-05-02 | 29 | -251/+243 | |
| | ||||||
* | docs: update Python versions supported | Ned Batchelder | 2021-05-02 | 3 | -8/+8 | |
| | ||||||
* | build: next version will be 6.0, dropping support for 2.7 & 3.5 | Ned Batchelder | 2021-05-01 | 2 | -6/+3 | |
| | ||||||
* | refactor: move the remaining backward.py code, no more backward.py | Ned Batchelder | 2021-05-01 | 14 | -177/+68 | |
| | ||||||
* | refactor: remove some unneeded behavior conditionals | Ned Batchelder | 2021-05-01 | 4 | -28/+2 | |
| | ||||||
* | refactor: remove yet more unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 5 | -45/+16 | |
| | | | | | | | | Gone are: - PYC_MAGIC_NUMBER - code_object - SimpleNamespace | |||||
* | refactor: remove more unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 16 | -138/+35 | |
| | | | | | | | | | | | | | | 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 | 16 | -123/+53 | |
| | | | | | | | | | | | | | | | 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 | 27 | -338/+52 | |
| | ||||||
* | build: don't run CI on 2.7, pypy2, or 3.5 | Ned Batchelder | 2021-05-01 | 4 | -33/+5 | |
| | ||||||
* | fix: don't warn that dynamic plugins already imported their source files. #1150 | Ned Batchelder | 2021-05-01 | 4 | -2/+46 | |
| | ||||||
* | build: no more Windows 2.7? | Ned Batchelder | 2021-05-01 | 2 | -0/+6 | |
| | | | | | Microsoft removed the vcpython27 code (because 2.7 isn't supported anymore). Discussion here: https://community.chocolatey.org/packages/vcpython27 | |||||
* | docs: fix code comment formatting (#1153) | Mayank Singhal | 2021-04-30 | 3 | -10/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | * docs(branch.rst): Line number comments not needed The topic `Branch Coverage Management` in this file already has a setting: :linenothreshold: 5 Using this setting, sphinx will automatically provide line numbers for code block longer than 5 lines. reference: https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-option-highlight-linenothreshold * docs: Extra spaces in comment (maybe intentional) The lines edited in this commit might have been given extra indentation purposefully. As they are an instruction for coverage py and are immediately followed by another comment that is not for coveragepy. * docs: inconsistent spaces in comments Fix extra indentations or lack of indentations. | |||||
* | 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 | 2 | -5/+5 | |
| | ||||||
* | build: make tags like 5.6.1 not coverage-5.6.1 | Ned Batchelder | 2021-04-15 | 5 | -7/+7 | |
| | ||||||
* | build: remove one leftover install_egg | Ned Batchelder | 2021-04-14 | 1 | -1/+1 | |
| | ||||||
* | build: suppress new 3.10 warnings | Ned Batchelder | 2021-04-14 | 1 | -0/+11 | |
| | ||||||
* | build: avoid pylint randomness | Ned Batchelder | 2021-04-14 | 1 | -1/+1 | |
| | | | | | | | -j seems to introduce non-determinism: https://github.com/PyCQA/pylint/issues/4356 With -j4, we'd have occasional (1 in 20?) failures on CI. | |||||
* | test: improve zipfile test | Ned Batchelder | 2021-04-14 | 4 | -45/+50 | |
| | | | | | | | Before this commit, the GetZipBytesTest.test_get_encoded_zip_files test was flaky on Python 3.10.0a7. Since I had just added new files to the common zip file, I tried splitting the newly added stuff into its own file, and that seemed to fix the problem. | |||||
* | build: run tests and quality on all branches | Ned Batchelder | 2021-04-14 | 2 | -4/+0 | |
| | ||||||
* | test: remove the .egg test | Ned Batchelder | 2021-04-14 | 8 | -48/+24 | |
| | | | | | | People don't use .egg much anymore, distutils is showing deprecation warnings, and coverage.py only deals with them the same way it deals with .zip files, so let's just rely on a .zip test to cover that. | |||||
* | fix: correct slight mis-layout of the hotkey panels | Ned Batchelder | 2021-04-13 | 6 | -16/+16 | |
| | ||||||
* | build: bump version to 5.6b2 | Ned Batchelder | 2021-04-12 | 2 | -1/+7 | |
| | ||||||
* | build: version 5.6b1coverage-5.6b1v5.x | Ned Batchelder | 2021-04-12 | 3 | -6/+8 | |
| | ||||||
* | fix: pypy3 7.3.4 uses a non-empty sys.path[0] | Ned Batchelder | 2021-04-12 | 1 | -1/+4 | |
| | ||||||
* | build: report errors a little better in download_gha_artifacts.py | Ned Batchelder | 2021-04-11 | 1 | -0/+2 | |
| | ||||||
* | build: use 3.10.0a7 in CI | Ned Batchelder | 2021-04-11 | 2 | -2/+2 | |
| | ||||||
* | build: update build dependencies | Ned Batchelder | 2021-04-11 | 3 | -12/+12 | |
| | ||||||
* | build: update pylint | Ned Batchelder | 2021-04-11 | 2 | -3/+3 | |
| | ||||||
* | fix: adapt to 3.10.0a7's f_lasti field | Ned Batchelder | 2021-04-11 | 3 | -2/+10 | |
| | ||||||
* | fix: restore metacov functioning | Ned Batchelder | 2021-04-11 | 2 | -3/+1 | |
| | | | | | | | 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 | 2 | -7/+6 | |
| | ||||||
* | build: keep the cog sample report working | Ned Batchelder | 2021-04-11 | 1 | -1/+1 | |
| | | | | | We use PYTEST_ADDOPTS=-n8 locally, and for some reason that keeps the cog line from measuring any data. This keeps it working | |||||
* | fix: don't measure third-party scriptsnedbat/bin-exclude | Ned Batchelder | 2021-04-11 | 3 | -59/+134 | |
| | | | | | | This finishes the last bit of #905 Also includes tighter logging of the reason for not tracing modules. | |||||
* | test: don't complain if an environment variable we don't want doesn't exist | Ned Batchelder | 2021-04-11 | 1 | -1/+1 | |
| | ||||||
* | debug: label each matcher with its role | Ned Batchelder | 2021-04-11 | 4 | -21/+24 | |
| | ||||||
* | fix: don't measure third-party packages | Ned Batchelder | 2021-04-10 | 5 | -13/+210 | |
| | | | | | | | | | | | | 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 | 2 | -2/+9 | |
| | ||||||
* | refactor: move stdlib and coverage location logic into functions | Ned Batchelder | 2021-04-10 | 1 | -29/+41 | |
| | ||||||
* | build: tox should be quiet | Ned Batchelder | 2021-04-10 | 1 | -3/+3 | |
| | ||||||
* | build: remove obsolete Tidelift release notes support | Ned Batchelder | 2021-04-10 | 3 | -55/+0 | |
| | | | | | Tidelift removed their release notes API on 2021-03-09: https://forum.tidelift.com/t/release-notes-task/467 |