summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2021-05-08 12:11:38 -0700
committerAnthony Sottile <asottile@umich.edu>2021-05-08 12:45:45 -0700
commitc428c55503911190f7e9d4d9c05d418594c20c6b (patch)
treefa8c827708585dd1b911b4c140514e3ae9b60ee4 /src
parentf7bda9296329cd0ad22cc38fe51b9fd679eed296 (diff)
downloadflake8-c428c55503911190f7e9d4d9c05d418594c20c6b.tar.gz
Merge pull request #1328 from PyCQA/fix_indent_size_str
correct and deprecate the value of indent_size_str
Diffstat (limited to 'src')
-rw-r--r--src/flake8/processor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flake8/processor.py b/src/flake8/processor.py
index ad011c3..fe9113c 100644
--- a/src/flake8/processor.py
+++ b/src/flake8/processor.py
@@ -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