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 committed by GitHub
commit 7231422eb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,8 +92,8 @@ class FileProcessor:
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