diff --git a/pyproject.toml b/pyproject.toml index 5cf9fa5e2c..733c4e4985 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -125,9 +125,6 @@ exclude_lines = [ # Don't complain if tests don't hit defensive assertion code: "raise AssertionError", "raise NotImplementedError", - - # Don't complain if non-runnable code isn't run: - "if __name__ == .__main__.:", ] [tool.ruff]