Skip to content

A straightforward method for training your LLM, from downloading data to generating text.

chore(types): turn on mypy strict_equality

FareedKhan-devf92fd303f063
diff --git a/pyproject.toml b/pyproject.toml
index 834ff42..58c29a4 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -100,6 +100,7 @@ ignore_missing_imports = true
check_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
+strict_equality = true # comparing a Literal config field with a misspelled value is an error
# The code added for this update is fully annotated; keep it that way.
[[tool.mypy.overrides]]