PictoPy icon indicating copy to clipboard operation
PictoPy copied to clipboard

Feat: Add Python Static type checking in the pre commit hook

Open rohan-pandeyy opened this issue 2 weeks ago • 3 comments

Describe the feature

./scripts/pre-commit

Currently only checks python's formatting, addition of mypy checks in the pre commit hooks will help resolve most of the lint fails before a branch is opened.

Add ScreenShots

Record

  • [x] I agree to follow this project's Code of Conduct
  • [ ] I want to work on this issue

rohan-pandeyy avatar Nov 15 '26 10:11 rohan-pandeyy

⚠️ Potential Duplicate Issue (Semantic Match)

This issue appears semantically similar to the following issues in AOSSIE-Org/PictoPy:

  1. Feat:Better pre commit hook for linting (#331, closed) https://github.com/AOSSIE-Org/PictoPy/issues/331 Similarity: 66.4%

  2. Feat: Add Automatic Local Linting on Commit (#613, open) https://github.com/AOSSIE-Org/PictoPy/issues/613 Similarity: 66.1%

  3. DX (Developer Experience): Pre-commit Hooks for Multi-language Linting (#954, open) https://github.com/AOSSIE-Org/PictoPy/issues/954 Similarity: 62.7%

Please review before proceeding.

github-actions[bot] avatar Nov 15 '26 10:11 github-actions[bot]

Hi @rohan-pandeyy, I noticed this is marked In Progress with #1751 linked to close it. If any additional help, testing, or follow-up is needed on adding mypy to ./scripts/pre-commit, I’d be happy to assist—please let me know!

Bhupendra-glitch avatar Nov 20 '26 13:11 Bhupendra-glitch

Hi @rohan-pandeyy , I m new to opensource and wasn't aware that this was self assigned. Kindly look through it and convey me whether to keep mine open or close the pull request.

ayush-shft-ctrl avatar Nov 25 '26 20:11 ayush-shft-ctrl