[Python-checkins] Mark all clinic headers as generated (GH-30679)

miss-islington webhook-mailer at python.org
Wed Jan 19 11:54:50 EST 2022


https://github.com/python/cpython/commit/71734d0b9ca584bcbdcb2fb44ae16bb2fbfcaf6e
commit: 71734d0b9ca584bcbdcb2fb44ae16bb2fbfcaf6e
branch: main
author: Erlend Egeberg Aasland <erlend.aasland at innova.no>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-01-19T08:54:45-08:00
summary:

Mark all clinic headers as generated (GH-30679)

files:
M .gitattributes

diff --git a/.gitattributes b/.gitattributes
index 3363ea8e4e744..05b0420714e1b 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -41,11 +41,8 @@ PCbuild/readme.txt text eol=crlf
 PC/readme.txt text eol=crlf
 
 # Generated files
-# https://github.com/github/linguist#generated-code
-Modules/clinic/*.h          linguist-generated=true
-Objects/clinic/*.h          linguist-generated=true
-PC/clinic/*.h               linguist-generated=true
-Python/clinic/*.h           linguist-generated=true
+# https://github.com/github/linguist/blob/master/docs/overrides.md
+**/clinic/*.h               linguist-generated=true
 Python/deepfreeze/*.c       linguist-generated=true
 Python/frozen_modules/*.h   linguist-generated=true
 Python/frozen_modules/MANIFEST  linguist-generated=true



More information about the Python-checkins mailing list