Merge pull request #1328 from PyCQA/fix_indent_size_str

correct and deprecate the value of indent_size_str
This commit is contained in:
Anthony Sottile 2021-05-08 12:11:38 -07:00
parent f7bda92963
commit c428c55503

View file

@ -85,8 +85,8 @@ class FileProcessor(object):
self.indent_level = 0
#: Number of spaces used for indentation
self.indent_size = options.indent_size
#: String representing the space indentation
self.indent_size_str = self.indent_size * " "
#: String representing the space indentation (DEPRECATED)
self.indent_size_str = str(self.indent_size)
#: Line number in the file
self.line_number = 0
#: Current logical line