coverage 7.17.2__tar.gz → 7.17.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (421) hide show
  1. coverage-7.17.4/.github/CONTRIBUTING.rst +281 -0
  2. {coverage-7.17.2 → coverage-7.17.4}/.github/dependabot.yml +2 -0
  3. coverage-7.17.4/.github/workflows/actions.lock +146 -0
  4. {coverage-7.17.2 → coverage-7.17.4}/.github/workflows/codeql-analysis.yml +4 -4
  5. {coverage-7.17.2 → coverage-7.17.4}/.github/workflows/coverage.yml +20 -17
  6. {coverage-7.17.2 → coverage-7.17.4}/.github/workflows/dependency-review.yml +2 -2
  7. {coverage-7.17.2 → coverage-7.17.4}/.github/workflows/kit.yml +61 -22
  8. {coverage-7.17.2 → coverage-7.17.4}/.github/workflows/publish.yml +7 -7
  9. {coverage-7.17.2 → coverage-7.17.4}/.github/workflows/python-nightly.yml +1 -1
  10. {coverage-7.17.2 → coverage-7.17.4}/.github/workflows/quality.yml +23 -13
  11. {coverage-7.17.2 → coverage-7.17.4}/.github/workflows/testsuite.yml +11 -8
  12. {coverage-7.17.2 → coverage-7.17.4}/.gitignore +1 -3
  13. {coverage-7.17.2 → coverage-7.17.4}/.pre-commit-config.yaml +6 -1
  14. coverage-7.17.4/AGENTS.md +1 -0
  15. {coverage-7.17.2 → coverage-7.17.4}/CHANGES.rst +86 -2
  16. {coverage-7.17.2 → coverage-7.17.4}/MANIFEST.in +4 -4
  17. {coverage-7.17.2 → coverage-7.17.4}/Makefile +102 -107
  18. {coverage-7.17.2/coverage.egg-info → coverage-7.17.4}/PKG-INFO +18 -13
  19. {coverage-7.17.2 → coverage-7.17.4}/README.rst +11 -6
  20. {coverage-7.17.2 → coverage-7.17.4}/coverage/collector.py +20 -29
  21. {coverage-7.17.2 → coverage-7.17.4}/coverage/config.py +2 -1
  22. {coverage-7.17.2 → coverage-7.17.4}/coverage/control.py +27 -10
  23. {coverage-7.17.2 → coverage-7.17.4}/coverage/ctracer/tracer.c +9 -1
  24. {coverage-7.17.2 → coverage-7.17.4}/coverage/ctracer/util.h +15 -2
  25. {coverage-7.17.2 → coverage-7.17.4}/coverage/files.py +8 -0
  26. {coverage-7.17.2 → coverage-7.17.4}/coverage/jsonreport.py +26 -9
  27. {coverage-7.17.2 → coverage-7.17.4}/coverage/pytracer.py +9 -2
  28. {coverage-7.17.2 → coverage-7.17.4}/coverage/sqldata.py +41 -19
  29. {coverage-7.17.2 → coverage-7.17.4}/coverage/sqlitedb.py +6 -1
  30. {coverage-7.17.2 → coverage-7.17.4}/coverage/tomlconfig.py +1 -1
  31. {coverage-7.17.2 → coverage-7.17.4}/coverage/version.py +1 -1
  32. {coverage-7.17.2 → coverage-7.17.4/coverage.egg-info}/PKG-INFO +18 -13
  33. {coverage-7.17.2 → coverage-7.17.4}/coverage.egg-info/SOURCES.txt +15 -10
  34. {coverage-7.17.2 → coverage-7.17.4}/doc/changes.rst +2 -2
  35. {coverage-7.17.2 → coverage-7.17.4}/doc/commands/cmd_html.rst +1 -3
  36. {coverage-7.17.2 → coverage-7.17.4}/doc/conf.py +9 -4
  37. coverage-7.17.4/doc/contributing.rst +281 -0
  38. {coverage-7.17.2 → coverage-7.17.4}/doc/faq.rst +3 -2
  39. {coverage-7.17.2 → coverage-7.17.4}/doc/index.rst +8 -16
  40. {coverage-7.17.2 → coverage-7.17.4}/doc/messages.rst +1 -1
  41. {coverage-7.17.2 → coverage-7.17.4}/doc/requirements.txt +183 -172
  42. coverage-7.17.4/news/README.txt +1 -0
  43. coverage-7.17.4/news/new_fragment.rst.j2 +17 -0
  44. {coverage-7.17.2 → coverage-7.17.4}/pyproject.toml +10 -11
  45. {coverage-7.17.2 → coverage-7.17.4}/requirements/dev.txt +156 -144
  46. {coverage-7.17.2 → coverage-7.17.4}/requirements/kit.txt +15 -15
  47. {coverage-7.17.2 → coverage-7.17.4}/requirements/mypy.txt +144 -143
  48. {coverage-7.17.2 → coverage-7.17.4}/requirements/pins.txt +5 -0
  49. {coverage-7.17.2 → coverage-7.17.4}/requirements/pip.txt +12 -12
  50. {coverage-7.17.2 → coverage-7.17.4}/requirements/pytest.txt +88 -87
  51. {coverage-7.17.2 → coverage-7.17.4}/requirements/tox.txt +24 -24
  52. {coverage-7.17.2 → coverage-7.17.4}/tests/coveragetest.py +1 -1
  53. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/Makefile +1 -1
  54. {coverage-7.17.2 → coverage-7.17.4}/tests/helpers.py +1 -1
  55. {coverage-7.17.2 → coverage-7.17.4}/tests/oss-scanner/threat_model.md +2 -2
  56. {coverage-7.17.2 → coverage-7.17.4}/tests/test_api.py +10 -10
  57. {coverage-7.17.2 → coverage-7.17.4}/tests/test_arcs.py +17 -0
  58. coverage-7.17.4/tests/test_collector.py +214 -0
  59. {coverage-7.17.2 → coverage-7.17.4}/tests/test_concurrency.py +6 -3
  60. {coverage-7.17.2 → coverage-7.17.4}/tests/test_config.py +20 -1
  61. {coverage-7.17.2 → coverage-7.17.4}/tests/test_context.py +5 -8
  62. {coverage-7.17.2 → coverage-7.17.4}/tests/test_data.py +79 -4
  63. {coverage-7.17.2 → coverage-7.17.4}/tests/test_files.py +14 -0
  64. {coverage-7.17.2 → coverage-7.17.4}/tests/test_json.py +131 -0
  65. {coverage-7.17.2 → coverage-7.17.4}/tests/test_oddball.py +1 -2
  66. {coverage-7.17.2 → coverage-7.17.4}/tests/test_process.py +114 -3
  67. {coverage-7.17.2 → coverage-7.17.4}/tests/test_report.py +22 -25
  68. coverage-7.17.4/tools/README.txt +1 -0
  69. coverage-7.17.4/tools/gh_release.toml +22 -0
  70. {coverage-7.17.2 → coverage-7.17.4/tools}/igor.py +6 -13
  71. {coverage-7.17.2 → coverage-7.17.4/tools}/metacov.ini +3 -8
  72. coverage-7.17.2/howto.txt → coverage-7.17.4/tools/release.txt +7 -9
  73. {coverage-7.17.2 → coverage-7.17.4}/tox.ini +10 -10
  74. coverage-7.17.2/.github/zizmor.yml +0 -8
  75. coverage-7.17.2/ci/README.txt +0 -1
  76. coverage-7.17.2/doc/contributing.rst +0 -351
  77. coverage-7.17.2/tests/test_collector.py +0 -57
  78. {coverage-7.17.2 → coverage-7.17.4}/.editorconfig +0 -0
  79. {coverage-7.17.2 → coverage-7.17.4}/.git-blame-ignore-revs +0 -0
  80. {coverage-7.17.2 → coverage-7.17.4}/.github/CODE_OF_CONDUCT.md +0 -0
  81. {coverage-7.17.2 → coverage-7.17.4}/.github/FUNDING.yml +0 -0
  82. {coverage-7.17.2 → coverage-7.17.4}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  83. {coverage-7.17.2 → coverage-7.17.4}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  84. {coverage-7.17.2 → coverage-7.17.4}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  85. {coverage-7.17.2 → coverage-7.17.4}/.github/ISSUE_TEMPLATE/support.md +0 -0
  86. {coverage-7.17.2 → coverage-7.17.4}/.github/SECURITY.md +0 -0
  87. {coverage-7.17.2 → coverage-7.17.4}/.ignore +0 -0
  88. {coverage-7.17.2 → coverage-7.17.4}/.readthedocs.yaml +0 -0
  89. {coverage-7.17.2 → coverage-7.17.4}/CITATION.cff +0 -0
  90. {coverage-7.17.2 → coverage-7.17.4}/CONTRIBUTORS.txt +0 -0
  91. {coverage-7.17.2 → coverage-7.17.4}/LICENSE.txt +0 -0
  92. {coverage-7.17.2 → coverage-7.17.4}/NOTICE.txt +0 -0
  93. {coverage-7.17.2 → coverage-7.17.4}/__main__.py +0 -0
  94. {coverage-7.17.2 → coverage-7.17.4}/a1_coverage.pth +0 -0
  95. {coverage-7.17.2 → coverage-7.17.4}/coverage/__init__.py +0 -0
  96. {coverage-7.17.2 → coverage-7.17.4}/coverage/__main__.py +0 -0
  97. {coverage-7.17.2 → coverage-7.17.4}/coverage/annotate.py +0 -0
  98. {coverage-7.17.2 → coverage-7.17.4}/coverage/bytecode.py +0 -0
  99. {coverage-7.17.2 → coverage-7.17.4}/coverage/cmdline.py +0 -0
  100. {coverage-7.17.2 → coverage-7.17.4}/coverage/context.py +0 -0
  101. {coverage-7.17.2 → coverage-7.17.4}/coverage/core.py +0 -0
  102. {coverage-7.17.2 → coverage-7.17.4}/coverage/ctracer/datastack.c +0 -0
  103. {coverage-7.17.2 → coverage-7.17.4}/coverage/ctracer/datastack.h +0 -0
  104. {coverage-7.17.2 → coverage-7.17.4}/coverage/ctracer/filedisp.c +0 -0
  105. {coverage-7.17.2 → coverage-7.17.4}/coverage/ctracer/filedisp.h +0 -0
  106. {coverage-7.17.2 → coverage-7.17.4}/coverage/ctracer/module.c +0 -0
  107. {coverage-7.17.2 → coverage-7.17.4}/coverage/ctracer/stats.h +0 -0
  108. {coverage-7.17.2 → coverage-7.17.4}/coverage/ctracer/tracer.h +0 -0
  109. {coverage-7.17.2 → coverage-7.17.4}/coverage/data.py +0 -0
  110. {coverage-7.17.2 → coverage-7.17.4}/coverage/debug.py +0 -0
  111. {coverage-7.17.2 → coverage-7.17.4}/coverage/disposition.py +0 -0
  112. {coverage-7.17.2 → coverage-7.17.4}/coverage/env.py +0 -0
  113. {coverage-7.17.2 → coverage-7.17.4}/coverage/exceptions.py +0 -0
  114. {coverage-7.17.2 → coverage-7.17.4}/coverage/execfile.py +0 -0
  115. {coverage-7.17.2 → coverage-7.17.4}/coverage/html.py +0 -0
  116. {coverage-7.17.2 → coverage-7.17.4}/coverage/htmlfiles/coverage_html.js +0 -0
  117. {coverage-7.17.2 → coverage-7.17.4}/coverage/htmlfiles/favicon_32.png +0 -0
  118. {coverage-7.17.2 → coverage-7.17.4}/coverage/htmlfiles/index.html +0 -0
  119. {coverage-7.17.2 → coverage-7.17.4}/coverage/htmlfiles/keybd_closed.png +0 -0
  120. {coverage-7.17.2 → coverage-7.17.4}/coverage/htmlfiles/pyfile.html +0 -0
  121. {coverage-7.17.2 → coverage-7.17.4}/coverage/htmlfiles/style.css +0 -0
  122. {coverage-7.17.2 → coverage-7.17.4}/coverage/htmlfiles/style.scss +0 -0
  123. {coverage-7.17.2 → coverage-7.17.4}/coverage/inorout.py +0 -0
  124. {coverage-7.17.2 → coverage-7.17.4}/coverage/lcovreport.py +0 -0
  125. {coverage-7.17.2 → coverage-7.17.4}/coverage/misc.py +0 -0
  126. {coverage-7.17.2 → coverage-7.17.4}/coverage/multiproc.py +0 -0
  127. {coverage-7.17.2 → coverage-7.17.4}/coverage/numbits.py +0 -0
  128. {coverage-7.17.2 → coverage-7.17.4}/coverage/parser.py +0 -0
  129. {coverage-7.17.2 → coverage-7.17.4}/coverage/patch.py +0 -0
  130. {coverage-7.17.2 → coverage-7.17.4}/coverage/phystokens.py +0 -0
  131. {coverage-7.17.2 → coverage-7.17.4}/coverage/plugin.py +0 -0
  132. {coverage-7.17.2 → coverage-7.17.4}/coverage/plugin_support.py +0 -0
  133. {coverage-7.17.2 → coverage-7.17.4}/coverage/pth_file.py +0 -0
  134. {coverage-7.17.2 → coverage-7.17.4}/coverage/py.typed +0 -0
  135. {coverage-7.17.2 → coverage-7.17.4}/coverage/python.py +0 -0
  136. {coverage-7.17.2 → coverage-7.17.4}/coverage/regions.py +0 -0
  137. {coverage-7.17.2 → coverage-7.17.4}/coverage/report.py +0 -0
  138. {coverage-7.17.2 → coverage-7.17.4}/coverage/report_core.py +0 -0
  139. {coverage-7.17.2 → coverage-7.17.4}/coverage/results.py +0 -0
  140. {coverage-7.17.2 → coverage-7.17.4}/coverage/sysmon.py +0 -0
  141. {coverage-7.17.2 → coverage-7.17.4}/coverage/templite.py +0 -0
  142. {coverage-7.17.2 → coverage-7.17.4}/coverage/tracer.pyi +0 -0
  143. {coverage-7.17.2 → coverage-7.17.4}/coverage/types.py +0 -0
  144. {coverage-7.17.2 → coverage-7.17.4}/coverage/xmlreport.py +0 -0
  145. {coverage-7.17.2 → coverage-7.17.4}/coverage.egg-info/dependency_links.txt +0 -0
  146. {coverage-7.17.2 → coverage-7.17.4}/coverage.egg-info/entry_points.txt +0 -0
  147. {coverage-7.17.2 → coverage-7.17.4}/coverage.egg-info/not-zip-safe +0 -0
  148. {coverage-7.17.2 → coverage-7.17.4}/coverage.egg-info/requires.txt +0 -0
  149. {coverage-7.17.2 → coverage-7.17.4}/coverage.egg-info/top_level.txt +0 -0
  150. {coverage-7.17.2 → coverage-7.17.4}/doc/_static/coverage.css +0 -0
  151. {coverage-7.17.2 → coverage-7.17.4}/doc/api.rst +0 -0
  152. {coverage-7.17.2 → coverage-7.17.4}/doc/api_coverage.rst +0 -0
  153. {coverage-7.17.2 → coverage-7.17.4}/doc/api_coveragedata.rst +0 -0
  154. {coverage-7.17.2 → coverage-7.17.4}/doc/api_exceptions.rst +0 -0
  155. {coverage-7.17.2 → coverage-7.17.4}/doc/api_module.rst +0 -0
  156. {coverage-7.17.2 → coverage-7.17.4}/doc/api_plugin.rst +0 -0
  157. {coverage-7.17.2 → coverage-7.17.4}/doc/branch.rst +0 -0
  158. {coverage-7.17.2 → coverage-7.17.4}/doc/cog_helpers.py +0 -0
  159. {coverage-7.17.2 → coverage-7.17.4}/doc/commands/cmd_annotate.rst +0 -0
  160. {coverage-7.17.2 → coverage-7.17.4}/doc/commands/cmd_combine.rst +0 -0
  161. {coverage-7.17.2 → coverage-7.17.4}/doc/commands/cmd_debug.rst +0 -0
  162. {coverage-7.17.2 → coverage-7.17.4}/doc/commands/cmd_erase.rst +0 -0
  163. {coverage-7.17.2 → coverage-7.17.4}/doc/commands/cmd_json.rst +0 -0
  164. {coverage-7.17.2 → coverage-7.17.4}/doc/commands/cmd_lcov.rst +0 -0
  165. {coverage-7.17.2 → coverage-7.17.4}/doc/commands/cmd_report.rst +0 -0
  166. {coverage-7.17.2 → coverage-7.17.4}/doc/commands/cmd_reporting.rst +0 -0
  167. {coverage-7.17.2 → coverage-7.17.4}/doc/commands/cmd_run.rst +0 -0
  168. {coverage-7.17.2 → coverage-7.17.4}/doc/commands/cmd_xml.rst +0 -0
  169. {coverage-7.17.2 → coverage-7.17.4}/doc/commands/index.rst +0 -0
  170. {coverage-7.17.2 → coverage-7.17.4}/doc/config.rst +0 -0
  171. {coverage-7.17.2 → coverage-7.17.4}/doc/contexts.rst +0 -0
  172. {coverage-7.17.2 → coverage-7.17.4}/doc/dbschema.rst +0 -0
  173. {coverage-7.17.2 → coverage-7.17.4}/doc/dict.txt +0 -0
  174. {coverage-7.17.2 → coverage-7.17.4}/doc/excluding.rst +0 -0
  175. {coverage-7.17.2 → coverage-7.17.4}/doc/howitworks.rst +0 -0
  176. {coverage-7.17.2 → coverage-7.17.4}/doc/install.rst +0 -0
  177. {coverage-7.17.2 → coverage-7.17.4}/doc/media/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White.png +0 -0
  178. {coverage-7.17.2 → coverage-7.17.4}/doc/media/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White_small.png +0 -0
  179. {coverage-7.17.2 → coverage-7.17.4}/doc/media/sleepy-snake-600.png +0 -0
  180. {coverage-7.17.2 → coverage-7.17.4}/doc/media/sleepy-snake-circle-150.png +0 -0
  181. {coverage-7.17.2 → coverage-7.17.4}/doc/migrating.rst +0 -0
  182. {coverage-7.17.2 → coverage-7.17.4}/doc/other.rst +0 -0
  183. {coverage-7.17.2 → coverage-7.17.4}/doc/plugins.rst +0 -0
  184. {coverage-7.17.2 → coverage-7.17.4}/doc/python-coverage.1.txt +0 -0
  185. {coverage-7.17.2 → coverage-7.17.4}/doc/requirements.in +0 -0
  186. {coverage-7.17.2 → coverage-7.17.4}/doc/sleepy.rst +0 -0
  187. {coverage-7.17.2 → coverage-7.17.4}/doc/source.rst +0 -0
  188. {coverage-7.17.2 → coverage-7.17.4}/doc/subprocess.rst +0 -0
  189. {coverage-7.17.2 → coverage-7.17.4}/doc/trouble.rst +0 -0
  190. {coverage-7.17.2 → coverage-7.17.4}/doc/whatsnew5x.rst +0 -0
  191. {coverage-7.17.2 → coverage-7.17.4}/lab/README.txt +0 -0
  192. {coverage-7.17.2 → coverage-7.17.4}/lab/branches.py +0 -0
  193. {coverage-7.17.2 → coverage-7.17.4}/lab/compare_times.sh +0 -0
  194. {coverage-7.17.2 → coverage-7.17.4}/lab/coverage-04.dtd +0 -0
  195. {coverage-7.17.2 → coverage-7.17.4}/lab/extract_code.py +0 -0
  196. {coverage-7.17.2 → coverage-7.17.4}/lab/goals.py +0 -0
  197. {coverage-7.17.2 → coverage-7.17.4}/lab/hack_pyc.py +0 -0
  198. {coverage-7.17.2 → coverage-7.17.4}/lab/notes/arcs-to-branches.txt +0 -0
  199. {coverage-7.17.2 → coverage-7.17.4}/lab/notes/bug1303.txt +0 -0
  200. {coverage-7.17.2 → coverage-7.17.4}/lab/notes/pypy-738-decorated-functions.txt +0 -0
  201. {coverage-7.17.2 → coverage-7.17.4}/lab/parse_all.py +0 -0
  202. {coverage-7.17.2 → coverage-7.17.4}/lab/parser.py +0 -0
  203. {coverage-7.17.2 → coverage-7.17.4}/lab/pick.py +0 -0
  204. {coverage-7.17.2 → coverage-7.17.4}/lab/platform_info.py +0 -0
  205. {coverage-7.17.2 → coverage-7.17.4}/lab/run_sysmon.py +0 -0
  206. {coverage-7.17.2 → coverage-7.17.4}/lab/run_trace.py +0 -0
  207. {coverage-7.17.2 → coverage-7.17.4}/lab/select_contexts.py +0 -0
  208. {coverage-7.17.2 → coverage-7.17.4}/lab/show_platform.py +0 -0
  209. {coverage-7.17.2 → coverage-7.17.4}/lab/show_pyc.py +0 -0
  210. {coverage-7.17.2 → coverage-7.17.4}/lab/treetopy.sh +0 -0
  211. {coverage-7.17.2 → coverage-7.17.4}/lab/warn_executed.py +0 -0
  212. {coverage-7.17.2 → coverage-7.17.4}/lab/warn_executed.toml +0 -0
  213. {coverage-7.17.2 → coverage-7.17.4}/requirements/dev.in +0 -0
  214. {coverage-7.17.2 → coverage-7.17.4}/requirements/js.in +0 -0
  215. {coverage-7.17.2 → coverage-7.17.4}/requirements/js.txt +0 -0
  216. {coverage-7.17.2 → coverage-7.17.4}/requirements/kit.in +0 -0
  217. {coverage-7.17.2 → coverage-7.17.4}/requirements/light-threads.in +0 -0
  218. {coverage-7.17.2 → coverage-7.17.4}/requirements/light-threads.txt +0 -0
  219. {coverage-7.17.2 → coverage-7.17.4}/requirements/mypy.in +0 -0
  220. {coverage-7.17.2 → coverage-7.17.4}/requirements/pip.in +0 -0
  221. {coverage-7.17.2 → coverage-7.17.4}/requirements/pytest.in +0 -0
  222. {coverage-7.17.2 → coverage-7.17.4}/requirements/tox.in +0 -0
  223. {coverage-7.17.2 → coverage-7.17.4}/setup.cfg +0 -0
  224. {coverage-7.17.2 → coverage-7.17.4}/setup.py +0 -0
  225. {coverage-7.17.2 → coverage-7.17.4}/tests/__init__.py +0 -0
  226. {coverage-7.17.2 → coverage-7.17.4}/tests/conftest.py +0 -0
  227. {coverage-7.17.2 → coverage-7.17.4}/tests/covmodzip1.py +0 -0
  228. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/README.rst +0 -0
  229. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/annotate/anno_dir/multi.py,cover +0 -0
  230. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/annotate/anno_dir/z_80084bf2fba02475___init__.py,cover +0 -0
  231. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/annotate/anno_dir/z_80084bf2fba02475_a.py,cover +0 -0
  232. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/annotate/anno_dir/z_b039179a8a4ce2c2___init__.py,cover +0 -0
  233. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/annotate/anno_dir/z_b039179a8a4ce2c2_b.py,cover +0 -0
  234. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/annotate/encodings/utf8.py,cover +0 -0
  235. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/annotate/mae/mae.py,cover +0 -0
  236. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/annotate/multi/a/__init__.py,cover +0 -0
  237. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/annotate/multi/a/a.py,cover +0 -0
  238. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/annotate/multi/b/__init__.py,cover +0 -0
  239. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/annotate/multi/b/b.py,cover +0 -0
  240. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/annotate/multi/multi.py,cover +0 -0
  241. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/annotate/white/white.py,cover +0 -0
  242. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/a/a_py.html +0 -0
  243. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/a/class_index.html +0 -0
  244. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/a/function_index.html +0 -0
  245. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/a/index.html +0 -0
  246. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/b_branch/b_py.html +0 -0
  247. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/b_branch/class_index.html +0 -0
  248. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/b_branch/function_index.html +0 -0
  249. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/b_branch/index.html +0 -0
  250. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/bom/bom_py.html +0 -0
  251. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/bom/class_index.html +0 -0
  252. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/bom/function_index.html +0 -0
  253. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/bom/index.html +0 -0
  254. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/contexts/class_index.html +0 -0
  255. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/contexts/function_index.html +0 -0
  256. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/contexts/index.html +0 -0
  257. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/contexts/two_tests_py.html +0 -0
  258. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/isolatin1/class_index.html +0 -0
  259. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/isolatin1/function_index.html +0 -0
  260. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/isolatin1/index.html +0 -0
  261. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/isolatin1/isolatin1_py.html +0 -0
  262. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/multiline/class_index.html +0 -0
  263. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/multiline/function_index.html +0 -0
  264. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/multiline/index.html +0 -0
  265. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/multiline/multiline_py.html +0 -0
  266. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_1/class_index.html +0 -0
  267. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_1/function_index.html +0 -0
  268. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_1/index.html +0 -0
  269. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_1/m1_py.html +0 -0
  270. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_1/m2_py.html +0 -0
  271. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_1/m3_py.html +0 -0
  272. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_1/main_py.html +0 -0
  273. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_2/class_index.html +0 -0
  274. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_2/function_index.html +0 -0
  275. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_2/index.html +0 -0
  276. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_2/m2_py.html +0 -0
  277. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_2/m3_py.html +0 -0
  278. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_2/main_py.html +0 -0
  279. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_3/class_index.html +0 -0
  280. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_3/function_index.html +0 -0
  281. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_3/index.html +0 -0
  282. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_3/m3_py.html +0 -0
  283. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_3/main_py.html +0 -0
  284. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_4/class_index.html +0 -0
  285. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_4/function_index.html +0 -0
  286. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_4/index.html +0 -0
  287. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_4/m1_py.html +0 -0
  288. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_4/m3_py.html +0 -0
  289. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_4/main_py.html +0 -0
  290. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_5/class_index.html +0 -0
  291. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_5/function_index.html +0 -0
  292. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_5/index.html +0 -0
  293. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_5/m1_py.html +0 -0
  294. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/omit_5/main_py.html +0 -0
  295. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/other/blah_blah_other_py.html +0 -0
  296. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/other/class_index.html +0 -0
  297. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/other/function_index.html +0 -0
  298. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/other/here_py.html +0 -0
  299. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/other/index.html +0 -0
  300. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/partial/class_index.html +0 -0
  301. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/partial/function_index.html +0 -0
  302. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/partial/index.html +0 -0
  303. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/partial/partial_py.html +0 -0
  304. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/styled/a_py.html +0 -0
  305. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/styled/class_index.html +0 -0
  306. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/styled/function_index.html +0 -0
  307. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/styled/index.html +0 -0
  308. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/styled/myextra.css +0 -0
  309. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/styled/style.css +0 -0
  310. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/support/coverage_html_cb_dd2e7eb5.js +0 -0
  311. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/support/favicon_32_cb_c827f16f.png +0 -0
  312. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/support/keybd_closed_cb_900cfef5.png +0 -0
  313. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/support/style_cb_a90a112a.css +0 -0
  314. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/unicode/class_index.html +0 -0
  315. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/unicode/function_index.html +0 -0
  316. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/unicode/index.html +0 -0
  317. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/html/unicode/unicode_py.html +0 -0
  318. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/testing/getty/gettysburg.txt +0 -0
  319. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/testing/xml/output.xml +0 -0
  320. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/xml/x_xml/coverage.xml +0 -0
  321. {coverage-7.17.2 → coverage-7.17.4}/tests/gold/xml/y_xml_branch/coverage.xml +0 -0
  322. {coverage-7.17.2 → coverage-7.17.4}/tests/goldtest.py +0 -0
  323. {coverage-7.17.2 → coverage-7.17.4}/tests/hypo.py +0 -0
  324. {coverage-7.17.2 → coverage-7.17.4}/tests/js/collect_results.js +0 -0
  325. {coverage-7.17.2 → coverage-7.17.4}/tests/js/index.html +0 -0
  326. {coverage-7.17.2 → coverage-7.17.4}/tests/js/run_js_tests.py +0 -0
  327. {coverage-7.17.2 → coverage-7.17.4}/tests/js/tests.js +0 -0
  328. {coverage-7.17.2 → coverage-7.17.4}/tests/mixins.py +0 -0
  329. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/aa/__init__.py +0 -0
  330. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/aa/afile.odd.py +0 -0
  331. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/aa/afile.py +0 -0
  332. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/aa/bb/__init__.py +0 -0
  333. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/aa/bb/bfile.odd.py +0 -0
  334. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/aa/bb/bfile.py +0 -0
  335. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/aa/bb/cc/__init__.py +0 -0
  336. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/aa/bb/cc/cfile.py +0 -0
  337. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/aa/bb.odd/bfile.py +0 -0
  338. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/aa/zfile.py +0 -0
  339. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/ambiguous/__init__.py +0 -0
  340. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/ambiguous/pkg1/__init__.py +0 -0
  341. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/ambiguous/pkg1/ambiguous.py +0 -0
  342. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/checkspec.py +0 -0
  343. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/covmod1.py +0 -0
  344. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/namespace_420/sub1/__init__.py +0 -0
  345. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/pkg1/__init__.py +0 -0
  346. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/pkg1/__main__.py +0 -0
  347. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/pkg1/p1a.py +0 -0
  348. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/pkg1/p1b.py +0 -0
  349. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/pkg1/p1c.py +0 -0
  350. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/pkg1/runmod2.py +0 -0
  351. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/pkg1/sub/__init__.py +0 -0
  352. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/pkg1/sub/__main__.py +0 -0
  353. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/pkg1/sub/ps1a.py +0 -0
  354. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/pkg1/sub/runmod3.py +0 -0
  355. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/pkg2/__init__.py +0 -0
  356. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/pkg2/p2a.py +0 -0
  357. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/pkg2/p2b.py +0 -0
  358. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/plugins/__init__.py +0 -0
  359. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/plugins/a_plugin.py +0 -0
  360. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/plugins/another.py +0 -0
  361. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/process_test/__init__.py +0 -0
  362. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/process_test/try_execfile.py +0 -0
  363. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/runmod1.py +0 -0
  364. {coverage-7.17.2 → coverage-7.17.4}/tests/modules/usepkgs.py +0 -0
  365. {coverage-7.17.2 → coverage-7.17.4}/tests/moremodules/namespace_420/sub2/__init__.py +0 -0
  366. {coverage-7.17.2 → coverage-7.17.4}/tests/moremodules/othermods/__init__.py +0 -0
  367. {coverage-7.17.2 → coverage-7.17.4}/tests/moremodules/othermods/othera.py +0 -0
  368. {coverage-7.17.2 → coverage-7.17.4}/tests/moremodules/othermods/otherb.py +0 -0
  369. {coverage-7.17.2 → coverage-7.17.4}/tests/moremodules/othermods/sub/__init__.py +0 -0
  370. {coverage-7.17.2 → coverage-7.17.4}/tests/moremodules/othermods/sub/osa.py +0 -0
  371. {coverage-7.17.2 → coverage-7.17.4}/tests/moremodules/othermods/sub/osb.py +0 -0
  372. {coverage-7.17.2 → coverage-7.17.4}/tests/osinfo.py +0 -0
  373. {coverage-7.17.2 → coverage-7.17.4}/tests/oss-scanner/Dockerfile +0 -0
  374. {coverage-7.17.2 → coverage-7.17.4}/tests/oss-scanner/README.rst +0 -0
  375. {coverage-7.17.2 → coverage-7.17.4}/tests/oss-scanner/local_run.sh +0 -0
  376. {coverage-7.17.2 → coverage-7.17.4}/tests/oss-scanner/project.yaml +0 -0
  377. {coverage-7.17.2 → coverage-7.17.4}/tests/plugin1.py +0 -0
  378. {coverage-7.17.2 → coverage-7.17.4}/tests/plugin2.py +0 -0
  379. {coverage-7.17.2 → coverage-7.17.4}/tests/plugin_config.py +0 -0
  380. {coverage-7.17.2 → coverage-7.17.4}/tests/select_plugin.py +0 -0
  381. {coverage-7.17.2 → coverage-7.17.4}/tests/smoke.py +0 -0
  382. {coverage-7.17.2 → coverage-7.17.4}/tests/strategies.py +0 -0
  383. {coverage-7.17.2 → coverage-7.17.4}/tests/stress_phystoken.tok +0 -0
  384. {coverage-7.17.2 → coverage-7.17.4}/tests/stress_phystoken_dos.tok +0 -0
  385. {coverage-7.17.2 → coverage-7.17.4}/tests/test_annotate.py +0 -0
  386. {coverage-7.17.2 → coverage-7.17.4}/tests/test_bytecode.py +0 -0
  387. {coverage-7.17.2 → coverage-7.17.4}/tests/test_cmdline.py +0 -0
  388. {coverage-7.17.2 → coverage-7.17.4}/tests/test_core.py +0 -0
  389. {coverage-7.17.2 → coverage-7.17.4}/tests/test_coverage.py +0 -0
  390. {coverage-7.17.2 → coverage-7.17.4}/tests/test_debug.py +0 -0
  391. {coverage-7.17.2 → coverage-7.17.4}/tests/test_execfile.py +0 -0
  392. {coverage-7.17.2 → coverage-7.17.4}/tests/test_filereporter.py +0 -0
  393. {coverage-7.17.2 → coverage-7.17.4}/tests/test_goldtest.py +0 -0
  394. {coverage-7.17.2 → coverage-7.17.4}/tests/test_html.py +0 -0
  395. {coverage-7.17.2 → coverage-7.17.4}/tests/test_lcov.py +0 -0
  396. {coverage-7.17.2 → coverage-7.17.4}/tests/test_misc.py +0 -0
  397. {coverage-7.17.2 → coverage-7.17.4}/tests/test_mixins.py +0 -0
  398. {coverage-7.17.2 → coverage-7.17.4}/tests/test_numbits.py +0 -0
  399. {coverage-7.17.2 → coverage-7.17.4}/tests/test_parser.py +0 -0
  400. {coverage-7.17.2 → coverage-7.17.4}/tests/test_phystokens.py +0 -0
  401. {coverage-7.17.2 → coverage-7.17.4}/tests/test_plugins.py +0 -0
  402. {coverage-7.17.2 → coverage-7.17.4}/tests/test_python.py +0 -0
  403. {coverage-7.17.2 → coverage-7.17.4}/tests/test_regions.py +0 -0
  404. {coverage-7.17.2 → coverage-7.17.4}/tests/test_report_common.py +0 -0
  405. {coverage-7.17.2 → coverage-7.17.4}/tests/test_report_core.py +0 -0
  406. {coverage-7.17.2 → coverage-7.17.4}/tests/test_results.py +0 -0
  407. {coverage-7.17.2 → coverage-7.17.4}/tests/test_setup.py +0 -0
  408. {coverage-7.17.2 → coverage-7.17.4}/tests/test_sqlitedb.py +0 -0
  409. {coverage-7.17.2 → coverage-7.17.4}/tests/test_sysmon.py +0 -0
  410. {coverage-7.17.2 → coverage-7.17.4}/tests/test_templite.py +0 -0
  411. {coverage-7.17.2 → coverage-7.17.4}/tests/test_testing.py +0 -0
  412. {coverage-7.17.2 → coverage-7.17.4}/tests/test_venv.py +0 -0
  413. {coverage-7.17.2 → coverage-7.17.4}/tests/test_version.py +0 -0
  414. {coverage-7.17.2 → coverage-7.17.4}/tests/test_xml.py +0 -0
  415. {coverage-7.17.2 → coverage-7.17.4}/tests/testenv.py +0 -0
  416. {coverage-7.17.2 → coverage-7.17.4}/tests/zipsrc/zip1/__init__.py +0 -0
  417. {coverage-7.17.2 → coverage-7.17.4}/tests/zipsrc/zip1/zip1.py +0 -0
  418. {coverage-7.17.2/ci → coverage-7.17.4/tools}/comment_on_fixes.py +0 -0
  419. {coverage-7.17.2/ci → coverage-7.17.4/tools}/session.py +0 -0
  420. {coverage-7.17.2/ci → coverage-7.17.4/tools}/trigger_action.py +0 -0
  421. {coverage-7.17.2/ci → coverage-7.17.4/tools}/update_rtfd.py +0 -0
@@ -0,0 +1,281 @@
1
+ .. Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
2
+ .. For details: https://github.com/coveragepy/coveragepy/blob/main/NOTICE.txt
3
+
4
+ .. This file is symlinked as .github/CONTRIBUTING.rst, so only use .rst that
5
+ .. will work in GitHub's rendering.
6
+
7
+ .. PYVERSIONS: search for "3" through this file to update min/max versions
8
+
9
+ .. _contributing:
10
+
11
+ ===========================
12
+ Contributing to coverage.py
13
+ ===========================
14
+
15
+ .. highlight:: console
16
+
17
+ We welcome contributions to coverage.py. Over the years, hundreds of people
18
+ have provided contributions of various sizes to add features, fix bugs, or just
19
+ help diagnose thorny issues. This page should have all the information you
20
+ need to make a contribution.
21
+
22
+ One source of history or ideas are the `bug reports`_ against coverage.py.
23
+ There you can find ideas for requested features, or the remains of rejected
24
+ ideas.
25
+
26
+ .. _bug reports: https://github.com/coveragepy/coveragepy/issues
27
+
28
+
29
+ Before you begin
30
+ ----------------
31
+
32
+ If you have an idea for coverage.py, run it by us before you begin writing
33
+ code. This way, we can get you going in the right direction, or point you to
34
+ previous work in the area. Things are not always as straightforward as they
35
+ seem, and having the benefit of lessons learned by those before you can save
36
+ you frustration.
37
+
38
+ If you find an issue to work on, check if there is already a pull request in
39
+ process to fix it. It's better to add to an existing pull request than to
40
+ duplicate the work.
41
+
42
+ We have a `#coverage channel in the Python Discord <discord_>`_ that can be a
43
+ good place to explore ideas, get help, or help people with coverage.py.
44
+ `Come there <discord_>`_ after `joining the Python Discord server <join_>`_.
45
+
46
+ Cooperation and communication are essential. If you make a pull request, others
47
+ might make comments. You need to respond. Be concise and helpful.
48
+
49
+ .. _discord: https://discord.com/channels/267624335836053506/1253355750684753950
50
+ .. _join: https://discord.com/invite/python
51
+
52
+
53
+ Getting the code
54
+ ----------------
55
+
56
+ The coverage.py code is hosted on a GitHub repository at
57
+ https://github.com/coveragepy/coveragepy. To get a working environment, follow
58
+ these steps:
59
+
60
+ #. `Fork the repo`_ into your own GitHub account. The coverage.py code will
61
+ then be copied into a GitHub repository at
62
+ ``https://github.com/GITHUB_USER/coveragepy`` where GITHUB_USER is your
63
+ GitHub username.
64
+
65
+ #. (Optional) Create a virtualenv to work in, and activate it. There are a
66
+ number of ways to do this. Use the method you are comfortable with.
67
+ Ideally use Python 3.11, the lowest version coverage.py currently supports.
68
+
69
+ #. Clone the repository::
70
+
71
+ $ git clone https://github.com/GITHUB_USER/coveragepy
72
+ $ cd coveragepy
73
+
74
+ #. Install the requirements with either of these commands::
75
+
76
+ $ make install
77
+ # ...or:
78
+ $ pip install -r requirements/dev.txt
79
+
80
+ .. _fork the repo: https://docs.github.com/en/get-started/quickstart/fork-a-repo
81
+
82
+
83
+ Tests
84
+ -----
85
+
86
+ Most of the tests are for the Python code, but we also have JavaScript tests
87
+ for the JavaScript in the HTML reports.
88
+
89
+ Python tests
90
+ ............
91
+
92
+ The Python tests are a mix of unittest-style tests and pytest-style tests. They
93
+ are run with pytest running under `tox`_. They will run automatically via
94
+ GitHub actions when you push your changes to GitHub, but it's also a good idea
95
+ to run them locally for faster feedback::
96
+
97
+ $ make test
98
+
99
+ This uses tox to run the complete test suite a few times for each version of
100
+ Python you have installed. The first run uses the C implementation of the
101
+ trace function, the second uses the Python implementation. If
102
+ `sys.monitoring`_ is available, the suite will be run again with that core.
103
+
104
+ To limit tox to just a few versions of Python, run it directly using the ``-e``
105
+ option::
106
+
107
+ $ tox -e py311,py315
108
+
109
+ On the tox command line, options after ``--`` are passed to pytest. To run
110
+ just a few tests, you can use `pytest test selectors`_::
111
+
112
+ $ tox -- tests/test_misc.py
113
+ $ tox -- tests/test_misc.py::HasherTest
114
+ $ tox -- tests/test_misc.py::HasherTest::test_string_hashing
115
+
116
+ These commands run the tests in one file, one class, and just one test,
117
+ respectively. The pytest ``-k`` option selects tests based on a word in their
118
+ name, which can be very convenient for ad-hoc test selection. Of course you
119
+ can combine tox and pytest options::
120
+
121
+ $ tox -q -e py311 -- -n 0 -vv -k hash
122
+
123
+ You can also affect the test runs with environment variables:
124
+
125
+ - ``COVERAGE_ONE_CORE=1`` will use only one tracing core for each Python
126
+ version. This isn't about CPU cores, it's about the central code that tracks
127
+ execution. This will use the preferred core for the Python version and
128
+ implementation being tested.
129
+
130
+ - ``COVERAGE_TEST_CORES=...`` defines the cores to run tests on. Three cores
131
+ are available, specify them as a comma-separated string:
132
+
133
+ - ``ctrace`` is a sys.settrace function implemented in C.
134
+ - ``pytrace`` is a sys.settrace function implemented in Python.
135
+ - ``sysmon`` is a `sys.monitoring`_ implementation.
136
+
137
+ - ``COVERAGE_AST_DUMP=1`` will dump the AST tree as it is being used during
138
+ code parsing.
139
+
140
+ There are other environment variables that affect tests. `set_env.py`_ is a
141
+ simple terminal interface to see and set them.
142
+
143
+ Of course, run all the tests on every version of Python you have before
144
+ submitting a change.
145
+
146
+ JavaScript tests
147
+ ................
148
+
149
+ The JavaScript tests for the HTML report are in tests/js. To run them in a
150
+ headless browser::
151
+
152
+ $ make test_js
153
+
154
+ You can also see them in a web browser by loading tests/js/index.html. These
155
+ tests are run in CI when the report JavaScript changes, but be sure to run them
156
+ yourself if you have changed any aspect of the HTML reports.
157
+
158
+ Coverage testing coverage.py
159
+ ............................
160
+
161
+ Coverage.py can measure itself, but it's complicated. The process has been
162
+ packaged up to make it easier::
163
+
164
+ $ make metacov metahtml
165
+
166
+ Then look at htmlcov/index.html. Note that due to the recursive nature of
167
+ coverage.py measuring itself, there are some parts of the code that will never
168
+ appear as covered, even though they are executed.
169
+
170
+ .. _pytest test selectors: https://doc.pytest.org/en/stable/usage.html#specifying-which-tests-to-run
171
+ .. _set_env.py: https://nedbatchelder.com/blog/201907/set_envpy.html
172
+ .. _sys.monitoring: https://docs.python.org/3/library/sys.monitoring.html
173
+ .. _tox: https://tox.readthedocs.io/
174
+
175
+
176
+ Quality checks
177
+ --------------
178
+
179
+ Keep the coverage.py source as clean as possible. We use pylint and mypy to
180
+ catch possible problems. All of the quality checks can be run together::
181
+
182
+ $ make quality
183
+
184
+ The source is pylint-clean, even if it's because there are pragmas quieting
185
+ some warnings. Try to keep it that way, but don't let pylint warnings
186
+ keep you from sending change. We can clean them up for you if you ask.
187
+
188
+ Lines should be kept to a 100-character maximum length. We recommend an
189
+ `editorconfig.org`_ plugin for your editor of choice, which will also help with
190
+ indentation, line endings and so on. Source files are formatted with `ruff`_.
191
+
192
+ We use `pre-commit`_ to run checks and formatting when making commits, you
193
+ should also.
194
+
195
+ Other style questions are best answered by looking at the existing code.
196
+ Formatting of docstrings, comments, long lines, and so on, should match the
197
+ code that already exists.
198
+
199
+ .. _editorconfig.org: http://editorconfig.org
200
+ .. _ruff: https://pypi.org/project/ruff/
201
+ .. _pre-commit: https://pre-commit.com/
202
+
203
+
204
+ Documentation
205
+ -------------
206
+
207
+ User-visible changes should include updates to the documentation. Stay focused
208
+ on the users' perspective.
209
+
210
+ Changelog
211
+ .........
212
+
213
+ Changes to the public experience are described in CHANGES.rst, but don't edit
214
+ that file directly. Use `scriv`_ to create a changelog fragment as part of
215
+ your pull request::
216
+
217
+ $ scriv create
218
+
219
+ Describe your change briefly, using syntax and tone similar to entries in
220
+ CHANGES.rst. Provide links to the issue and pull request.
221
+
222
+ The fragment will be collected into CHANGES.rst when a release is made.
223
+
224
+ Cog
225
+ ...
226
+
227
+ Parts of the documentation and GitHub actions are kept up-to-date with `cog`_.
228
+ There are checks to make sure that files are correct and not being incorrectly
229
+ edited.
230
+
231
+ If a check fails, it will show you what command to run to update the files.
232
+ If you edit parts of a file that should be generated, you will see a message
233
+ like::
234
+
235
+ Output has been edited! Delete old checksum to unprotect.
236
+
237
+ Probably you should revert the edits and run the command to generate the
238
+ output. The top of the file you edited will have instructions.
239
+
240
+ .. _scriv: https://scriv.readthedocs.io
241
+ .. _cog: https://cog.readthedocs.io
242
+
243
+
244
+ Your pull request
245
+ -----------------
246
+
247
+ When you are ready to contribute a change, make a GitHub pull request. Be
248
+ concise in your description of the change.
249
+
250
+ Be clear about how you want to stay involved in finishing it and merging it: do
251
+ you want to cross all the t's and dot the i's, or do you want us to make the
252
+ final changes?
253
+
254
+ Always include tests, documentation, and a changelog fragment as needed.
255
+
256
+ `GitHub actions`_ will run all of the Python tests and quality checks on your
257
+ changes. If any fail, either fix them or ask for help.
258
+
259
+ CI includes checks for things like missing coverage. There should be messages
260
+ explaining what went wrong.
261
+
262
+ .. _GitHub actions: https://github.com/coveragepy/coveragepy/actions
263
+
264
+
265
+ Dependencies
266
+ ------------
267
+
268
+ Coverage.py has no runtime dependencies.
269
+
270
+ It has many development dependencies. These are specified generically in the
271
+ ``requirements/*.in`` files. The .in files should have no versions specified
272
+ in them. The specific versions to use are pinned in ``requirements/*.txt``
273
+ files. These are created by running ``make upgrade``.
274
+
275
+ It's important to use Python 3.11 to run ``make upgrade`` so that the pinned
276
+ versions will work on all of the Python versions currently supported by
277
+ coverage.py.
278
+
279
+ If for some reason we need to constrain a version of a dependency, the
280
+ constraint should be specified in the ``requirements/pins.txt`` file, with a
281
+ detailed reason for the pin.
@@ -10,6 +10,8 @@ updates:
10
10
  # Check for updates to GitHub Actions once a week
11
11
  interval: "weekly"
12
12
  day: "sunday"
13
+ allow:
14
+ - dependency-type: "all"
13
15
  cooldown:
14
16
  # https://blog.yossarian.net/2025/11/21/We-should-all-be-using-dependency-cooldowns
15
17
  default-days: 10
@@ -0,0 +1,146 @@
1
+ # This file is machine-generated by `gh actions-lock`.
2
+ # Do not edit by hand; run `gh actions-lock` to update.
3
+ # Docs: https://gh.io/actions-lockfile
4
+ version: 'v0.0.3'
5
+ workflows:
6
+ '.github/workflows/codeql-analysis.yml':
7
+ - 'actions/checkout@v7.0.1'
8
+ - 'github/codeql-action@v4.39.3'
9
+ '.github/workflows/coverage.yml':
10
+ - 'actions/checkout@v7.0.1'
11
+ - 'actions/download-artifact@v8.0.2'
12
+ - 'actions/setup-python@v7.1.0'
13
+ - 'actions/upload-artifact@v7.0.2'
14
+ - 'dorny/paths-filter@v4.0.3'
15
+ - 'schneegans/dynamic-badges-action@v1.9.0'
16
+ '.github/workflows/dependency-review.yml':
17
+ - 'actions/checkout@v7.0.1'
18
+ - 'actions/dependency-review-action@v5.0.0'
19
+ '.github/workflows/kit.yml':
20
+ - 'actions/checkout@v7.0.1'
21
+ - 'actions/download-artifact@v8.0.2'
22
+ - 'actions/setup-python@v7.1.0'
23
+ - 'actions/upload-artifact@v7.0.2'
24
+ - 'docker/setup-qemu-action@v4.4.0'
25
+ - 'dorny/paths-filter@v4.0.3'
26
+ - 'sigstore/gh-action-sigstore-python@v3.5.0'
27
+ '.github/workflows/publish.yml':
28
+ - 'actions/attest-build-provenance@v4.2.2'
29
+ - 'actions/download-artifact@v8.0.2'
30
+ - 'octokit/request-action@v3.0.0'
31
+ - 'pypa/gh-action-pypi-publish@v1.14.3'
32
+ '.github/workflows/python-nightly.yml':
33
+ - 'actions/checkout@v7.0.1'
34
+ '.github/workflows/quality.yml':
35
+ - 'actions/checkout@v7.0.1'
36
+ - 'actions/setup-python@v7.1.0'
37
+ - 'dorny/paths-filter@v4.0.3'
38
+ - 'j178/prek-action@v3.1.0'
39
+ '.github/workflows/testsuite.yml':
40
+ - 'actions/checkout@v7.0.1'
41
+ - 'actions/setup-python@v7.1.0'
42
+ - 'dorny/paths-filter@v4.0.3'
43
+ - 're-actors/alls-green@v1.3.0'
44
+ dependencies:
45
+ 'actions/attest-build-provenance@v4.2.2':
46
+ ref: 'v4.2.2'
47
+ commit: 'sha1-4d101475d8b20a2381f78447822ac1eab6504dd8'
48
+ owner_id: 44036562
49
+ repo_id: 760702757
50
+ uses:
51
+ - 'actions/attest@508db95dd578ae2727ebd6217d5ba78e4fbda05d'
52
+ 'actions/attest@508db95dd578ae2727ebd6217d5ba78e4fbda05d':
53
+ ref: 'v4.2.1'
54
+ commit: 'sha1-508db95dd578ae2727ebd6217d5ba78e4fbda05d'
55
+ owner_id: 44036562
56
+ repo_id: 760701061
57
+ 'actions/checkout@v7.0.1':
58
+ ref: 'v7.0.1'
59
+ commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
60
+ owner_id: 44036562
61
+ repo_id: 197814629
62
+ 'actions/dependency-review-action@v5.0.0':
63
+ ref: 'v5.0.0'
64
+ commit: 'sha1-a1d282b36b6f3519aa1f3fc636f609c47dddb294'
65
+ owner_id: 44036562
66
+ repo_id: 476372928
67
+ 'actions/download-artifact@v8.0.2':
68
+ ref: 'v8.0.2'
69
+ commit: 'sha1-9000827ccba6bdab643e8b6fd33ac0654aef8333'
70
+ owner_id: 44036562
71
+ repo_id: 192626254
72
+ 'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405':
73
+ ref: 'v6.2.0'
74
+ commit: 'sha1-a309ff8b426b58ec0e2a45f0f869d46889d02405'
75
+ owner_id: 44036562
76
+ repo_id: 192625525
77
+ 'actions/setup-python@v7.1.0':
78
+ ref: 'v7.1.0'
79
+ commit: 'sha1-6d4fd22b20465ccc0f7354476588e8df7c9ca0e0'
80
+ owner_id: 44036562
81
+ repo_id: 192625525
82
+ 'actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a':
83
+ ref: 'v7.0.1'
84
+ commit: 'sha1-043fb46d1a93c77aae656e7c1c64a875d1fc6a0a'
85
+ owner_id: 44036562
86
+ repo_id: 192625955
87
+ 'actions/upload-artifact@v7.0.2':
88
+ ref: 'v7.0.2'
89
+ commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9'
90
+ owner_id: 44036562
91
+ repo_id: 192625955
92
+ 'docker/setup-qemu-action@v4.4.0':
93
+ ref: 'v4.4.0'
94
+ commit: 'sha1-99012661954931238ded8c8b007157a8430204e1'
95
+ owner_id: 5429470
96
+ repo_id: 288487894
97
+ 'dorny/paths-filter@v4.0.3':
98
+ ref: 'v4.0.3'
99
+ commit: 'sha1-ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d'
100
+ owner_id: 1588572
101
+ repo_id: 265601040
102
+ 'github/codeql-action@v4.39.3':
103
+ ref: 'v4.39.3'
104
+ commit: 'sha1-33d7b85da1a04171e211befe2c739303b9a4c066'
105
+ owner_id: 9919
106
+ repo_id: 259445878
107
+ 'j178/prek-action@v3.1.0':
108
+ ref: 'v3.1.0'
109
+ commit: 'sha1-44924fe9ef4a6f88253c4b6b1bf11c689d3ce53d'
110
+ owner_id: 10510431
111
+ repo_id: 1052387486
112
+ 'octokit/request-action@v3.0.0':
113
+ ref: 'v3.0.0'
114
+ commit: 'sha1-b91aabaa861c777dcdb14e2387e30eddf04619ae'
115
+ owner_id: 3430433
116
+ repo_id: 213507602
117
+ 'pypa/gh-action-pypi-publish@v1.14.3':
118
+ ref: 'v1.14.3'
119
+ commit: 'sha1-7245906fb61fa33a13554f9d5fb856fe61758086'
120
+ owner_id: 647025
121
+ repo_id: 178055147
122
+ uses:
123
+ - 'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405'
124
+ 're-actors/alls-green@v1.3.0':
125
+ ref: 'v1.3.0'
126
+ commit: 'sha1-b5b5b37504aa4183270bd3d855c52a67f212be35'
127
+ owner_id: 46427759
128
+ repo_id: 434447646
129
+ 'schneegans/dynamic-badges-action@v1.9.0':
130
+ ref: 'v1.9.0'
131
+ commit: 'sha1-28b0fa8bdeb46170ac397105ece0c1fe58f68910'
132
+ owner_id: 829942
133
+ repo_id: 287698854
134
+ 'sigstore/gh-action-sigstore-python@v3.5.0':
135
+ ref: 'v3.5.0'
136
+ commit: 'sha1-790bc6befb9d733738f18d8f895854b453640ec9'
137
+ owner_id: 71096353
138
+ repo_id: 508560980
139
+ uses:
140
+ - 'actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a'
141
+ - 'softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228'
142
+ 'softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228':
143
+ ref: 'v3.0.2'
144
+ commit: 'sha1-3d0d9888cb7fd7b750713d6e236d1fcb99157228'
145
+ owner_id: 2242
146
+ repo_id: 204253808
@@ -49,13 +49,13 @@ jobs:
49
49
 
50
50
  steps:
51
51
  - name: "Check out the repo"
52
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
52
+ uses: actions/checkout@v7.0.1
53
53
  with:
54
54
  persist-credentials: false
55
55
 
56
56
  # Initializes the CodeQL tools for scanning.
57
57
  - name: Initialize CodeQL
58
- uses: github/codeql-action/init@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
58
+ uses: github/codeql-action/init@v4.39.3
59
59
  with:
60
60
  languages: ${{ matrix.language }}
61
61
  # If you wish to specify custom queries, you can do so here or in a config file.
@@ -66,7 +66,7 @@ jobs:
66
66
  # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
67
67
  # If this step fails, then you should remove it and run the build manually (see below)
68
68
  - name: Autobuild
69
- uses: github/codeql-action/autobuild@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
69
+ uses: github/codeql-action/autobuild@v4.39.3
70
70
 
71
71
  # ℹ️ Command-line programs to run using the OS shell.
72
72
  # 📚 https://git.io/JvXDl
@@ -80,4 +80,4 @@ jobs:
80
80
  # make release
81
81
 
82
82
  - name: Perform CodeQL Analysis
83
- uses: github/codeql-action/analyze@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
83
+ uses: github/codeql-action/analyze@v4.39.3
@@ -39,12 +39,12 @@ jobs:
39
39
  workflow: ${{ steps.filter.outputs.workflow }}
40
40
  steps:
41
41
  - name: "Check out the repo"
42
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
42
+ uses: actions/checkout@v7.0.1
43
43
  with:
44
44
  persist-credentials: false
45
45
 
46
46
  - name: "Examine changed files"
47
- uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
47
+ uses: dorny/paths-filter@v4.0.3
48
48
  id: filter
49
49
  with:
50
50
  filters: |
@@ -52,11 +52,12 @@ jobs:
52
52
  - "*.py"
53
53
  - "coverage/**.py"
54
54
  - "tests/**.py"
55
+ - "tools/igor.py"
55
56
  - "**.h"
56
57
  - "**.c"
57
58
  - ".github/workflows/coverage.yml"
58
59
  - "tox.ini"
59
- - "metacov.ini"
60
+ - "tools/metacov.ini"
60
61
  - "requirements/*.txt"
61
62
  - "tests/gold/**"
62
63
 
@@ -94,6 +95,8 @@ jobs:
94
95
  - "3.14t"
95
96
  - "3.15"
96
97
  - "3.15t"
98
+ - "3.16"
99
+ - "3.16t"
97
100
  - "pypy-3.11"
98
101
  exclude:
99
102
  # Mac PyPy always takes the longest, and doesn't add anything.
@@ -111,12 +114,12 @@ jobs:
111
114
 
112
115
  steps:
113
116
  - name: "Check out the repo"
114
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
117
+ uses: actions/checkout@v7.0.1
115
118
  with:
116
119
  persist-credentials: false
117
120
 
118
121
  - name: "Set up Python"
119
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
122
+ uses: actions/setup-python@v7.1.0
120
123
  with:
121
124
  python-version: "${{ matrix.python-version }}"
122
125
  allow-prereleases: true
@@ -149,13 +152,13 @@ jobs:
149
152
 
150
153
  - name: "Combine data"
151
154
  env:
152
- COVERAGE_RCFILE: "metacov.ini"
155
+ COVERAGE_RCFILE: "tools/metacov.ini"
153
156
  run: |
154
157
  python -m coverage combine
155
158
  mv .metacov ".metacov.$MATRIX_ID"
156
159
 
157
160
  - name: "Upload coverage data"
158
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
161
+ uses: actions/upload-artifact@v7.0.2
159
162
  with:
160
163
  name: metacov-${{ env.MATRIX_ID }}
161
164
  path: .metacov.*
@@ -168,17 +171,17 @@ jobs:
168
171
  outputs:
169
172
  total: ${{ steps.total.outputs.total }}
170
173
  env:
171
- COVERAGE_RCFILE: "metacov.ini"
174
+ COVERAGE_RCFILE: "tools/metacov.ini"
172
175
 
173
176
  steps:
174
177
  - name: "Check out the repo"
175
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
178
+ uses: actions/checkout@v7.0.1
176
179
  with:
177
180
  persist-credentials: false
178
181
  fetch-depth: 200
179
182
 
180
183
  - name: "Set up Python"
181
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
184
+ uses: actions/setup-python@v7.1.0
182
185
  with:
183
186
  python-version: "3.11" # Minimum of PYVERSIONS
184
187
  cache: pip
@@ -196,10 +199,10 @@ jobs:
196
199
  set -xe
197
200
  python -m pip install -e .
198
201
  python -m pip install -r requirements/pytest.txt
199
- python igor.py zip_mods
202
+ python tools/igor.py zip_mods
200
203
 
201
204
  - name: "Download coverage data"
202
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
205
+ uses: actions/download-artifact@v8.0.2
203
206
  with:
204
207
  pattern: metacov-*
205
208
  merge-multiple: true
@@ -210,17 +213,17 @@ jobs:
210
213
  COVERAGE_CONTEXT: "yes"
211
214
  run: |
212
215
  set -xe
213
- python igor.py combine_html
216
+ python tools/igor.py combine_html
214
217
 
215
218
  - name: "Upload HTML report"
216
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
219
+ uses: actions/upload-artifact@v7.0.2
217
220
  with:
218
221
  name: html_report
219
222
  path: htmlcov
220
223
  include-hidden-files: true
221
224
 
222
225
  - name: "Upload other reports"
223
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
226
+ uses: actions/upload-artifact@v7.0.2
224
227
  with:
225
228
  name: json_xml
226
229
  path: |
@@ -330,7 +333,7 @@ jobs:
330
333
 
331
334
  - name: "Download coverage HTML report"
332
335
  if: ${{ github.ref == 'refs/heads/main' }}
333
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
336
+ uses: actions/download-artifact@v8.0.2
334
337
  with:
335
338
  name: html_report
336
339
  path: reports_repo/${{ env.report_dir }}
@@ -367,7 +370,7 @@ jobs:
367
370
  github.repository_owner == 'coveragepy'
368
371
  && github.ref == 'refs/heads/main'
369
372
  # https://gist.githubusercontent.com/nedbat/8c6980f77988a327348f9b02bbaf67f5
370
- uses: schneegans/dynamic-badges-action@28b0fa8bdeb46170ac397105ece0c1fe58f68910 # v1.9.0
373
+ uses: schneegans/dynamic-badges-action@v1.9.0
371
374
  with:
372
375
  # Personal access token: gist access
373
376
  auth: ${{ secrets.METACOV_GIST_SECRET }}
@@ -29,12 +29,12 @@ jobs:
29
29
  runs-on: ubuntu-latest
30
30
  steps:
31
31
  - name: "Check out the repo"
32
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
32
+ uses: actions/checkout@v7.0.1
33
33
  with:
34
34
  persist-credentials: false
35
35
 
36
36
  - name: "Dependency Review"
37
- uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
37
+ uses: actions/dependency-review-action@v5.0.0
38
38
  with:
39
39
  base-ref: ${{ github.event.pull_request.base.sha || 'main' }}
40
40
  head-ref: ${{ github.event.pull_request.head.sha || github.ref }}