summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix: don't warn that dynamic plugins already imported their source files. #1150Ned Batchelder2021-05-014-2/+46
|
* build: no more Windows 2.7?Ned Batchelder2021-05-012-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 Singhal2021-04-303-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 filesNed Batchelder2021-04-191-1/+8
|
* Use current_thread instead of currentThread that was deprecated in Python 3.10Karthikeyan Singaravelan2021-04-172-5/+5
|
* build: make tags like 5.6.1 not coverage-5.6.1Ned Batchelder2021-04-155-7/+7
|
* build: remove one leftover install_eggNed Batchelder2021-04-141-1/+1
|
* build: suppress new 3.10 warningsNed Batchelder2021-04-141-0/+11
|
* build: avoid pylint randomnessNed Batchelder2021-04-141-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 testNed Batchelder2021-04-144-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 branchesNed Batchelder2021-04-142-4/+0
|
* test: remove the .egg testNed Batchelder2021-04-148-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 panelsNed Batchelder2021-04-136-16/+16
|
* build: bump version to 5.6b2Ned Batchelder2021-04-122-1/+7
|
* build: version 5.6b1coverage-5.6b1v5.xNed Batchelder2021-04-123-6/+8
|
* fix: pypy3 7.3.4 uses a non-empty sys.path[0]Ned Batchelder2021-04-121-1/+4
|
* build: report errors a little better in download_gha_artifacts.pyNed Batchelder2021-04-111-0/+2
|
* build: use 3.10.0a7 in CINed Batchelder2021-04-112-2/+2
|
* build: update build dependenciesNed Batchelder2021-04-113-12/+12
|
* build: update pylintNed Batchelder2021-04-112-3/+3
|
* fix: adapt to 3.10.0a7's f_lasti fieldNed Batchelder2021-04-113-2/+10
|
* fix: restore metacov functioningNed Batchelder2021-04-112-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 highlightingNed Batchelder2021-04-112-7/+6
|
* build: keep the cog sample report workingNed Batchelder2021-04-111-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-excludeNed Batchelder2021-04-113-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 existNed Batchelder2021-04-111-1/+1
|
* debug: label each matcher with its roleNed Batchelder2021-04-114-21/+24
|
* fix: don't measure third-party packagesNed Batchelder2021-04-105-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 worldsNed Batchelder2021-04-102-2/+9
|
* refactor: move stdlib and coverage location logic into functionsNed Batchelder2021-04-101-29/+41
|
* build: tox should be quietNed Batchelder2021-04-101-3/+3
|
* build: remove obsolete Tidelift release notes supportNed Batchelder2021-04-103-55/+0
| | | | | Tidelift removed their release notes API on 2021-03-09: https://forum.tidelift.com/t/release-notes-task/467
* refactor: nice_file can be used as a functionNed Batchelder2021-03-223-18/+19
|
* refactor: make_file can be used as a functionNed Batchelder2021-03-222-39/+46
|
* refactor: simplify temp dir cd codeNed Batchelder2021-03-221-15/+10
|
* docs: update the help in the docsNed Batchelder2021-03-211-2/+2
|
* docs: update a pytest url to their new structureNed Batchelder2021-03-211-1/+1
|
* style: remove commented-out sphinx extension we don't needNed Batchelder2021-03-191-1/+0
|
* fix: remove debugging code I checked in by accidentNed Batchelder2021-03-191-3/+0
|
* style: correct two recent lint faux pasNed Batchelder2021-03-183-12/+15
|
* docs: clarify the --source valuesNed Batchelder2021-03-182-3/+5
| | | | | | 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 parameterNed Batchelder2021-03-141-2/+2
|
* docs: note what pep626 isNed Batchelder2021-03-141-0/+2
|
* tool: more information about the location of ast nodes when debuggingNed Batchelder2021-03-131-1/+6
|
* refactor: we no longer use unittest_mixinsNed Batchelder2021-03-111-4/+0
|
* refactor: correct a file name: test_mixins.pyNed Batchelder2021-03-111-0/+0
|
* refactor: pull module cleaning into hereNed Batchelder2021-03-115-66/+86
| | | | We don't need unittest_mixins' module cleaner anymore.
* refactor: remove unused test class settingNed Batchelder2021-03-115-18/+0
| | | | | | | | | unittest_mixins would check that files got created if a test made a temporary directory, so that we could trim down making temp dirs needlessly. But we don't use unittest_mixins any more, so this setting does nothing. Remove it.
* refactor: our own change_dir context managerNed Batchelder2021-03-114-4/+20
| | | | We don't need to use the one from unittest_mixins.
* test: simplify how StopEverything is converted to skipnedbat/remove-unittest-testcaseNed Batchelder2021-03-115-64/+12
| | | | | | The auto-decorating metaclass was interfering with parameterized methods on Python 2.7. But we don't need it anymore anyway, since pytest will let us hook to deal with the exception in a simpler way.