mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-03-12 21:23:05 -07:00
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:
@@ -54,10 +54,12 @@ exclude = [
|
||||
"^dist/",
|
||||
"^PACK/",
|
||||
"^wordlists/",
|
||||
"^HashcatRosetta/",
|
||||
"^hashcat-utils/",
|
||||
"^hate_crack/hashcat-utils/",
|
||||
"^hate_crack/princeprocessor/",
|
||||
]
|
||||
ignore_missing_imports = false
|
||||
ignore_missing_imports = true
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = [
|
||||
|
||||
Reference in New Issue
Block a user