Copilot commented on code in PR #1354:
URL: https://github.com/apache/airflow-site/pull/1354#discussion_r2649155668


##########
.pre-commit-config.yaml:
##########
@@ -163,3 +163,15 @@ repos:
       - id: mixed-line-ending
       - id: trailing-whitespace
         args: [--markdown-linebreak-ext=md]
+  - repo: https://github.com/thlorenz/doctoc.git
+    rev: 68f070c98b9a053eabfa7f8899d1f42b9919f98c  # frozen: v2.2.0
+    hooks:
+      - id: doctoc
+        name: Add TOC for Markdown and RST files

Review Comment:
   The hook name mentions "Markdown and RST files" but the files pattern only 
matches Markdown files (.md). Either update the name to "Add TOC for Markdown 
files" or extend the file pattern to include RST files if that's the intention.
   ```suggestion
           name: Add TOC for Markdown files
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to