diff --git a/templates/python/code_quality/mypy/README.md b/templates/python/code_quality/mypy/README.md
index 38cd45e2ef6a056b41ba86cf0fb28ae5cc08ad56..27079af443fd3c46e7e5290f4809fb33cf009536 100644
--- a/templates/python/code_quality/mypy/README.md
+++ b/templates/python/code_quality/mypy/README.md
@@ -31,7 +31,5 @@ about [mypy configuration](https://mypy.readthedocs.io/en/stable/config_file.htm
 To display the use of mypy in your project, you can add the following badge to your README.md:
 
 ```markdown
-<a href="https://mypy.readthedocs.io/">
-    <img alt="Type Checked: mypy" src="https://img.shields.io/badge/mypy-checks-blue">
-</a>
+[![Checked with mypy](https://img.shields.io/badge/mypy-checked-blue)](https://mypy.readthedocs.io/)
 ```