Add previous_unindented_logical_line attribute

This attribute is introduced in pycodestyle 2.1.0

Closes #246

See: https://github.com/PyCQA/pycodestyle/issues/400
This commit is contained in:
Yen Chi Hsuan 2016-11-08 23:00:55 +08:00
parent 9553c8d8cc
commit 6595d3a08d
2 changed files with 6 additions and 0 deletions

View file

@ -38,6 +38,7 @@ a file, a plugin can ask for any of the following:
- :attr:`~flake8.processor.FileProcessor.noqa`
- :attr:`~flake8.processor.FileProcessor.previous_indent_level`
- :attr:`~flake8.processor.FileProcessor.previous_logical`
- :attr:`~flake8.processor.FileProcessor.previous_unindented_logical_line`
- :attr:`~flake8.processor.FileProcessor.tokens`
Some properties are set once per file for plugins which iterate itself over