From d02b76de16fbb011004e16106e63ac1896018e6c Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Fri, 21 Aug 2020 12:13:12 +0200 Subject: [PATCH] Fix indentation in docs --- docs/extending.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/extending.rst b/docs/extending.rst index f3dc726e2..654d2504d 100644 --- a/docs/extending.rst +++ b/docs/extending.rst @@ -66,12 +66,12 @@ At the moment, the best workaround is to hold your nose, write a fake mypy plugi attr_attrib_makers.add("my_module.method_looks_like_attrib") class MyPlugin(Plugin): - # Our plugin does nothing but it has to exist so this file gets loaded. - pass + # Our plugin does nothing but it has to exist so this file gets loaded. + pass def plugin(version): - return MyPlugin + return MyPlugin Then tell mypy about your plugin using your project's ``mypy.ini``: