class_docstr: Checker for PEP 257, NumPy and Google conventions.
  
  D10x: Missing docstrings
  D20x: Whitespace issues
  D30x: Docstring formatting
  D40x: Docstring content issues
class_docstr_tok: ["Checker","for","PEP","257",",","NumPy","and","Google","conventions",".","D10x",":","Missing","docstrings","D20x",":","Whitespace","issues","D30x",":","Docstring","formatting","D40x",":","Docstring","content","issues"]
docstr: D210: No whitespaces allowed surrounding docstring text.
docstr_tok: ["D210",":","No","whitespaces","allowed","surrounding","docstring","text","."]
code: def check_surrounding_whitespaces(self, definition, docstring):
      """D210: No whitespaces allowed surrounding docstring text."""
      if docstring:
          lines = ast.literal_eval(docstring).split("\n")
          if (
              lines[0].startswith(" ")
              or len(lines) == 1
              and lines[0].endswith(" ")
          ):
              return violations.D210()
  
imports: import ast
  import string
  import tokenize
  from collections import namedtuple
  from itertools import chain, takewhile
  from re import compile
  from textwrap import dedent
  from .None import violations
  from .config import IllegalConfiguration
  from .parser import AllError, Class, Definition, Function, Method, Module, NestedClass, NestedFunction, Package, ParseError, Parser, StringIO
  from .utils import common_prefix_length, is_blank, log, pairwise, strip_non_alphanumeric
  from .wordlists import IMPERATIVE_BLACKLIST, IMPERATIVE_VERBS, stem
label_desc: Use image node_id 12 for calling the ConventionChecker obj's underlying member method code with example usage: obj.check_surrounding_whitespaces(definition, docstring) and returns: violations