diff --git a/pyproject.toml b/pyproject.toml
index 25ba7d0e02497c5244c392a581e63e7ca11e9a7c..488bef42d6de276d3fa45fd4e0559323554f2cda 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,2 +1,6 @@
 [tool.pytest.ini_options]
 pythonpath = "src"
+
+[tool.pyright]
+strict = ["src"]
+exclude = ["**/__pycache__"]