From 965d6f95095eda8de50b640ac86bdfa96bed43d2 Mon Sep 17 00:00:00 2001 From: Fabian Neundorf Date: Thu, 21 Jul 2016 11:57:33 +0000 Subject: [PATCH] Fix typo in documentation using `indect` The documentation for the `FileProcessor` class used `indect_char` while the class itself uses the more sensible name `indent_char`. This updates both the docstring as well as the documentation. --- docs/source/plugin-development/plugin-parameters.rst | 2 +- src/flake8/processor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/plugin-development/plugin-parameters.rst b/docs/source/plugin-development/plugin-parameters.rst index 527950c..3c4534a 100644 --- a/docs/source/plugin-development/plugin-parameters.rst +++ b/docs/source/plugin-development/plugin-parameters.rst @@ -30,7 +30,7 @@ a file, a plugin can ask for any of the following: - :attr:`~flake8.processor.FileProcessor.blank_before` - :attr:`~flake8.processor.FileProcessor.blank_lines` - :attr:`~flake8.processor.FileProcessor.checker_state` -- :attr:`~flake8.processor.FileProcessor.indect_char` +- :attr:`~flake8.processor.FileProcessor.indent_char` - :attr:`~flake8.processor.FileProcessor.indent_level` - :attr:`~flake8.processor.FileProcessor.line_number` - :attr:`~flake8.processor.FileProcessor.logical_line` diff --git a/src/flake8/processor.py b/src/flake8/processor.py index 3e7dba5..dee0b15 100644 --- a/src/flake8/processor.py +++ b/src/flake8/processor.py @@ -33,7 +33,7 @@ class FileProcessor(object): - :attr:`blank_before` - :attr:`blank_lines` - :attr:`checker_state` - - :attr:`indect_char` + - :attr:`indent_char` - :attr:`indent_level` - :attr:`line_number` - :attr:`logical_line`