Traceback (most recent call last):


 "/home/toon/.local/bin/pydocstyle", line 11, in <module>

sys.exit(main())


 "/home/toon/.local/lib/python2.7/site-packages/pydocstyle/cli.py", line 68, in main

sys.exit(run_pydocstyle())


 "/home/toon/.local/lib/python2.7/site-packages/pydocstyle/cli.py", line 43, in run_pydocstyle

conf.get_files_to_check():


 "/home/toon/.local/lib/python2.7/site-packages/pydocstyle/config.py", line 171, in get_files_to_check

config = self._get_config(name)


 "/home/toon/.local/lib/python2.7/site-packages/pydocstyle/config.py", line 262, in _get_config

config = self._create_check_config(options)


 "/home/toon/.local/lib/python2.7/site-packages/pydocstyle/config.py", line 383, in _create_check_config

if cls._has_exclusive_option(options) or use_defaults:


 "/home/toon/.local/lib/python2.7/site-packages/pydocstyle/config.py", line 497, in _has_exclusive_option

cls.BASE_ERROR_SELECTION_OPTIONS])
AttributeError: 'NoneType' object has no attribute 'ignore'

Traceback (most recent call last):


 "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner

self.run()


 "/usr/lib/python2.7/threading.py", line 754, in run

self.__target(*self.__args, **self.__kwargs)


 "/usr/local/lib/python2.7/dist-packages/paddle/v2/reader/decorator.py", line 274, in handle_worker

r = mapper(sample)


 "/home/qingsong/pycharm项目/shuzi/MyReader.py", line 14, in train_mapper

img = paddle.image.simple_transform(img, 256, self.imageSize, True)


 "/usr/local/lib/python2.7/dist-packages/paddle/v2/image.py", line 321, in simple_transform

im = resize_short(im, resize_size)


 "/usr/local/lib/python2.7/dist-packages/paddle/v2/image.py", line 179, in resize_short

h, w = im.shape[:2]
AttributeError: 'NoneType' object has no attribute 'shape'
