diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2013-02-09 17:03:26 +0100 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2013-02-09 17:03:26 +0100 |
commit | 0e6a550fce223cbe0cbb8c02486f4b880a417643 (patch) | |
tree | 0ae703e135d7651655965e6e63dc5eb9f106e30c | |
parent | 1c7be5fdc8fce59c40f16670802648e10c76f76f (diff) | |
download | pep8-0e6a550fce223cbe0cbb8c02486f4b880a417643.tar.gz |
Drop the third argument for the AST checkers
-rwxr-xr-x | pep8.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1195,7 +1195,6 @@ class Checker(object): self._physical_checks = options.physical_checks self._logical_checks = options.logical_checks self._ast_checks = options.ast_checks - self._options = options self.max_line_length = options.max_line_length self.verbose = options.verbose self.filename = filename @@ -1336,7 +1335,7 @@ class Checker(object): except SyntaxError: return self.report_invalid_syntax() for name, cls, _ in self._ast_checks: - checker = cls(tree, self.filename, self._options) + checker = cls(tree, self.filename) for lineno, offset, text, check in checker.run(): if not noqa(self.lines[lineno - 1]): self.report_error(lineno, offset, text, check) |