]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-101100: Only show GitHub check annotations on changed doc paragraphs (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 19 Aug 2023 23:00:09 +0000 (16:00 -0700)
committerGitHub <noreply@github.com>
Sat, 19 Aug 2023 23:00:09 +0000 (01:00 +0200)
commit71e3581c969e8a7dbfd21db2407af498fd0027e3
treeaaab0f82a5a6a22e9d2283b9fb763324236f0fdd
parenta1808b835876ee70020ad9dbba40614439a5cdde
[3.12] gh-101100: Only show GitHub check annotations on changed doc paragraphs (GH-108065) (#108127)

gh-101100: Only show GitHub check annotations on changed doc paragraphs (GH-108065)

* Only show GitHub check annotations on changed doc paragraphs
* Improve check-warnings script arg parsing following Hugo's suggestions
* Factor filtering warnings by modified diffs into helper function
* Build docs on unmerged branch so warning lines match & avoid deep clone

---------

(cherry picked from commit eb953d6e4484339067837020f77eecac61f8d4f8)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
.github/workflows/reusable-docs.yml
Doc/tools/check-warnings.py