diff --git a/pyproject.toml b/pyproject.toml
index ccbb80a664a813bc8a5ef1db72f3913e5ab369dd..e9bf58c4f8e1569d83e35338c37061d8f4af05e5 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -52,7 +52,7 @@ all = [
 line-length = 80
 indent-width = 4
 target-version = "py311"
-exclude = [".eggs", ".git", ".venv", "build", "venv"]
+exclude = [".eggs", ".git", ".venv", "build", "venv", "test"]
 
 [tool.ruff.lint]
 extend-select = [
@@ -63,6 +63,7 @@ ignore = [
   "D400", # ends-in-period
   "D401", # non-imperative-mood
   "D105", # missing docstring in magic method
+  "S311", # Standard pseudo-random generators are not suitable for cryptographic purposes
 ]
 preview = true
 select = [