lintrunner should fail on badly formatted docstrings
Labels: triaged, enhancement, oncall: pt2, module: devx

As I was working on this PR https://github.com/pytorch/pytorch/pull/102182 and introducing lots of new docstrings, the lintrunner didn't care about the badly formatted docstring but the doc test failed

It feels like the lintrunner should have failed on this too

https://github.com/pytorch/pytorch/actions/runs/5074217066/jobs/9114389856?pr=102182

```

/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/compiler/__init__.py:docstring of torch.compiler.allow_in_graph:6: ERROR: Unexpected indentation.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/compiler/__init__.py:docstring of torch.compiler.allow_in_graph:25: ERROR: Unexpected indentation.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/compiler/__init__.py:docstring of torch.compiler.is_enabled:5: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/compiler/__init__.py:docstring of torch.compiler.allow_in_graph:42: ERROR: Unexpected indentation.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/compiler/__init__.py:docstring of torch.compiler.list_backends:9: ERROR: Unexpected indentation.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/compiler/__init__.py:docstring of torch.compiler.list_backends:18: ERROR: Unexpected indentation.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/_dynamo/eval_frame.py:docstring of torch._dynamo.eval_frame.OptimizedModule:1: WARNING: Inline emphasis start-string without end-string.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/_dynamo/eval_frame.py:docstring of torch._dynamo.eval_frame.OptimizedModule:1: WARNING: Inline strong start-string without end-string.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/compiler/__init__.py:docstring of torch.compiler.explain:13: ERROR: Unexpected indentation.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/compiler/__init__.py:docstring of torch.compiler.explain:24: ERROR: Unexpected indentation.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/compiler/__init__.py:docstring of torch.compiler.is_enabled:4: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/compiler/__init__.py:docstring of torch.compiler.disable:5: ERROR: Unexpected indentation.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/_dynamo/eval_frame.py:docstring of torch._dynamo.eval_frame.OptimizedModule:1: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/compiler/__init__.py:docstring of torch.compiler.disable:14: ERROR: Unexpected indentation.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/compiler/__init__.py:docstring of torch.compiler.compile:1: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/compiler/__init__.py:docstring of torch.compiler.disable:22: ERROR: Unexpected indentation.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/compiler/__init__.py:docstring of torch.compiler.is_enabled:2: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/compiler/__init__.py:docstring of torch.compiler.disable:34: ERROR: Unexpected indentation.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/compiler/__init__.py:docstring of torch.compiler.compile:1: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/compiler/__init__.py:docstring of torch.compiler.list_mode_options:7: ERROR: Unexpected indentation.
/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/compiler/__init__.py:docstring of torch.compiler.list_mode_options:11: ERROR: Unexpected indentation.
```

cc @ezyang @wconstab @ngimel @bdhirsh @anijain2305 @ZainRizvi @kit1980 @huydhn @clee2000