harshith1118 commented on PR #1402:
URL: https://github.com/apache/hamilton/pull/1402#issuecomment-3395992713

   Hi  *skrawcz.*
     I've fixed the pre-commit hook issues that were causing problems:
      1. Ruff pre-commit hook failures: I found that some files in the
   examples directory (like
         examples/dask/hello_world/business_logic.py) were just path
   references to other files rather than actual
         Python code. This was causing Ruff and other Python analysis tools to
   fail. I've updated the
         .pre-commit-config.yaml to exclude these path reference files from
   the Python code analysis hooks.
      2. Notebook validation hook failures: The validation hook was failing
   because many notebooks were missing
         the required setup cells and badges. I've added the necessary %pip
   install setup cells and the required
         Colab/GitHub badges to all 73 notebooks in the examples directory.
   This makes sure they meet the exact
         format expected by the validation script.
     All pre-commit hooks are now passing successfully when I run pre-commit
   run --all-files. The changes
     maintain the same functionality while meeting the code quality standards
   required by the project's
     pre-commit hooks.
     Thanks for your patience while I worked through these issues!
   
   On Mon, 13 Oct 2025 at 08:41, Stefan Krawczyk ***@***.***>
   wrote:
   
   > *skrawcz* left a comment (apache/hamilton#1402)
   > <https://github.com/apache/hamilton/pull/1402#issuecomment-3395716834>
   >
   > @harshith1118 <https://github.com/harshith1118> the ruff pre-commit hook
   > is still failing
   >
   > —
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/hamilton/pull/1402#issuecomment-3395716834>,
   > or unsubscribe
   > 
<https://github.com/notifications/unsubscribe-auth/BAIHD2CTAVOEVHESONETMUT3XMJ7JAVCNFSM6AAAAACIILXX6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTGOJVG4YTMOBTGQ>
   > .
   > You are receiving this because you were mentioned.Message ID:
   > ***@***.***>
   >
   


-- 
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