Closed dirkmueller closed 2 years ago
I get the following when running tests:
[ 10s] self = <pycodestyle.Checker object at 0x7f430e512f98> [ 10s] filename = '/tmp/tmp76ktgj2q', lines = ['import ipdb as sif;sif.set_trace();\n'] [ 10s] options = <test_linter.DebuggerTestStyleGuide object at 0x7f430e61cf98> [ 10s] report = <test_linter.CaptureReport object at 0x7f430e512e80>, kwargs = {} [ 10s] [ 10s] def __init__(self, filename=None, lines=None, [ 10s] options=None, report=None, **kwargs): [ 10s] if options is None: [ 10s] options = StyleGuide(kwargs).options [ 10s] else: [ 10s] assert not kwargs [ 10s] self._io_error = None [ 10s] self._physical_checks = options.physical_checks [ 10s] self._logical_checks = options.logical_checks [ 10s] self._ast_checks = options.ast_checks [ 10s] self.max_line_length = options.max_line_length [ 10s] self.max_doc_length = options.max_doc_length [ 10s] > self.indent_size = options.indent_size [ 10s] E AttributeError: 'DebuggerTestStyleGuide' object has no attribute 'indent_size' [ 10s]
just adding an indent_size = 4 attribute seems to be helping with that. this is using pycodestyle 2.7.0 and flake8 3.9.0
I fixed this just now when updating it and seeing the error, thanks for flagging!
I get the following when running tests:
just adding an indent_size = 4 attribute seems to be helping with that. this is using pycodestyle 2.7.0 and flake8 3.9.0