summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* temp: hack debugging for issue #1373nedbat/debug-1373Ned Batchelder2022-10-201-1/+20
|
* fix: can't use PYPYVERSION without checking PYPY firstNed Batchelder2022-10-192-1/+8
|
* build: update three actions to latest version (#1473)Ned Batchelder2022-10-173-6/+3
| | | | Also, remove the symbolic references in the comments, since dependabot doesn't update them.
* docs: mention 991 being fixed in CHANGES.rstNed Batchelder2022-10-151-1/+4
|
* test: simpler metacov.ini because of relative_file fixesNed Batchelder2022-10-151-1/+1
|
* docs: updates for implicit relative path mappingNed Batchelder2022-10-154-13/+22
|
* feat: implicitly combine relative pathsNed Batchelder2022-10-154-11/+45
|
* refactor: since we are showing regexes, make them a bit simplerNed Batchelder2022-10-152-5/+9
| | | | | | 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.
* fix: */foo matches "foo/x.py", to help with combining relative file names. #991Ned Batchelder2022-10-153-1/+33
|
* refactor(test): use parametrize instead of loopsNed Batchelder2022-10-151-29/+26
|
* test: uncomment an assertNed Batchelder2022-10-151-2/+1
|
* refactor: simplify the arguments to a test helperNed Batchelder2022-10-151-17/+14
|
* build(deps): bump schneegans/dynamic-badges-action from 1.4.0 to 1.5.0 (#1465)dependabot[bot]2022-10-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | * build(deps): bump schneegans/dynamic-badges-action from 1.4.0 to 1.5.0 Bumps [schneegans/dynamic-badges-action](https://github.com/schneegans/dynamic-badges-action) from 1.4.0 to 1.5.0. - [Release notes](https://github.com/schneegans/dynamic-badges-action/releases) - [Changelog](https://github.com/Schneegans/dynamic-badges-action/blob/master/changelog.md) - [Commits](https://github.com/schneegans/dynamic-badges-action/compare/54d929a33e7521ab6bf19d323d28fb7b876c53f7...9e75560bc15f4bddbf108466ba42d6922f1fc160) --- updated-dependencies: - dependency-name: schneegans/dynamic-badges-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update .github/workflows/coverage.yml Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* build: the /io path was for metalinux, which is gone since 76e80108Ned Batchelder2022-10-101-2/+1
|
* docs: thanks for two build fixes, Michał and SviatoslavNed Batchelder2022-10-041-0/+2
|
* build: fix the branch protection gate check @ GHASviatoslav Sydorenko2022-10-041-6/+11
| | | | | | | | | | | | | | This adds a GHA job that reliably determines if all the required dependencies have succeeded or not. It is now in use in aiohttp (and other aio-libs projects), CherryPy, some of the Ansible repositories, all of the jaraco's projects (like `setuptools`, `importlib_metadata`), some of hynek's projects, some PyCQA, PyCA, PyPA and pytest projects, a few AWS Labs projects (to my surprise). The story behind this is explained in more detail at https://github.com/marketplace/actions/alls-green#why.
* refactor: remove minor pre-3.7 complexityNed Batchelder2022-10-021-3/+2
|
* build: remove redundant wheel dep from pyproject.tomlMichał Górny2022-10-011-1/+1
| | | | | | | Remove the redundant `wheel` dependency, as it is added by the backend automatically. Listing it explicitly in the documentation was a historical mistake and has been fixed since, see: https://github.com/pypa/setuptools/commit/f7d30a9529378cf69054b5176249e5457aaf640a
* build: automate release-related editsNed Batchelder2022-09-304-60/+100
|
* build: gh releases have pypi link and installation instructionNed Batchelder2022-09-301-3/+17
|
* build: bump versionNed Batchelder2022-09-292-1/+7
|
* build: commenting on fixes should happen before bumping the versionNed Batchelder2022-09-291-3/+3
|
* docs: sample html report6.5.0Ned Batchelder2022-09-2911-64/+64
|
* build: prep for 6.5.0Ned Batchelder2022-09-295-8/+10
|
* docs: changelog for json report branch detailsNed Batchelder2022-09-292-0/+7
|
* fix: keep negative arc valuesNed Batchelder2022-09-292-2/+2
|
* feat: include branches taken and missed in JSON report. #1425Christoph Blessing2022-09-292-45/+83
| | | | | | | | | | | | | | | | | | | | | 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
* docs: minor tweaks to db docsNed Batchelder2022-09-292-4/+5
|
* docs: add a note to the class-branch changeNed Batchelder2022-09-271-1/+3
|
* chore: make upgradeNed Batchelder2022-09-278-66/+66
|
* build: use the badge action coloringNed Batchelder2022-09-271-6/+3
| | | | | Following my own advice: https://nedbatchelder.com/blog/202209/making_a_coverage_badge.html
* fix: `class` statements shouldn't be branches. #1449Ned Batchelder2022-09-265-7/+26
| | | | | | Revert "refactor: we no longer need to treat 'class' lines specially" This reverts commit 79f9f4575321fafc2ef770e3255f874db3d4b037.
* build: ci cleanupNed Batchelder2022-09-201-10/+7
|
* build: a final step to give required checks a simple nameNed Batchelder2022-09-201-0/+11
| | | | https://github.com/orgs/community/discussions/33579
* chore: make upgradeNed Batchelder2022-09-176-44/+38
|
* feat: --debug=pathmap will show details of re-mapping due to [paths] setting.Ned Batchelder2022-09-167-15/+63
|
* style: all steps should have quoted names, don't know whyNed Batchelder2022-09-151-1/+1
|
* build: bump to 3.11.0-rc.2Ned Batchelder2022-09-132-2/+2
|
* docs: there was an issue to close for pep 517.Ned Batchelder2022-09-131-1/+2
|
* docs: pep 517 packagingNed Batchelder2022-09-131-0/+3
|
* style: adapt to latest pylint concernsNed Batchelder2022-09-134-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 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) ```
* chore: make upgradeNed Batchelder2022-09-139-291/+306
|
* build: use pyproject.toml to comply with pep517Ned Batchelder2022-09-132-1/+7
| | | | | | | | Also: remove --no-index for installing ourselves. PEP-517 compliance means we need to use PyPI to get setuptools, so we can't use --no-index anymore. I think this was added just to speed up the initial installation of the virtualenv used in these tests.
* docs: 3.12 has a new function we can use somedayNed Batchelder2022-09-081-0/+2
|
* docs: add an openssf badge to the readmeNed Batchelder2022-09-041-1/+4
|
* docs: contributions should have testsNed Batchelder2022-09-031-0/+3
|
* docs: code of conductNed Batchelder2022-09-032-0/+18
|
* docs: add a core infrastructure initiative badge to the readmeNed Batchelder2022-09-011-1/+5
|
* docs: add more details to doc/contributing.rstNed Batchelder2022-08-291-14/+47
|
* test: pypy fixed their sys.path[0] difference, 3792Ned Batchelder2022-08-272-7/+1
| | | | https://foss.heptapod.net/pypy/pypy/-/issues/3792