Merge pull request #341 from input-output-hk/rm_pyrefly
chore: remove pyrefly from project configuration
chore: remove pyrefly from project configuration
Remove all references to pyrefly from pre-commit config, pyproject.toml, and requirements-dev.txt. This includes the local pre-commit hook and pyrefly-specific settings. Also clean up pyrefly ignore comments in clusterlib_klass.py. We keep using mypy a pyright for type checking.
fix(tx): retry mempool submission on MempoolTxTooSlow
Improve transaction submission robustness by retrying up to five times when a "MempoolTxTooSlow" error is encountered during transaction submission to the mempool. Add warnings for each retry attempt and raise a clear error if all attempts fail. Also, clarify log messages and attempt tracking for transaction resubmission.