fix: exclude submodule directories from mypy checks and update pre-push hook

- Add HashcatRosetta and hashcat-utils to mypy exclude patterns in pyproject.toml
- Update .github/workflows/mypy.yml to exclude submodule directories
- Update pre-push hook to exclude submodules and use consistent mypy flags
- Set ignore_missing_imports=true to handle external dependencies gracefully
- Ensure pre-push hook permissions are set correctly (executable)

Fixes mypy check failures caused by missing hashcat_rosetta.formatting stub.
This commit is contained in:
Justin Bollinger
2026-02-10 10:24:51 -05:00
parent 10c4d544db
commit cac2f1ff7c
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -23,4 +23,4 @@ jobs:
uv pip install --python .venv/bin/python ".[dev]"
- name: Run mypy
run: .venv/bin/mypy hate_crack
run: .venv/bin/mypy --exclude HashcatRosetta --exclude hashcat-utils --ignore-missing-imports hate_crack