From 7d58de1c44181849638d0216f0f4f709502e3e2f Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Tue, 5 Jul 2016 15:02:33 +0100 Subject: Remove the support for html reporting The html reporter was lately a second class citizen in Pylint, being underdeveloped and mostly neglected. It has a couple of bugs, but the more important reason why this is removed is that we now have a much better json reporter, which can be used as a basis for more prettier html Pylint outputs. Part of #975 --- pylint/test/unittest_lint.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'pylint/test/unittest_lint.py') diff --git a/pylint/test/unittest_lint.py b/pylint/test/unittest_lint.py index ea5c7c676..8d6e8f3a5 100644 --- a/pylint/test/unittest_lint.py +++ b/pylint/test/unittest_lint.py @@ -20,7 +20,7 @@ from pylint.utils import MSG_STATE_SCOPE_CONFIG, MSG_STATE_SCOPE_MODULE, MSG_STA MessagesStore, PyLintASTWalker, MessageDefinition, FileState, \ build_message_def, tokenize_module, UnknownMessage from pylint.testutils import TestReporter -from pylint.reporters import text, html +from pylint.reporters import text from pylint import checkers from pylint.checkers.utils import check_messages from pylint import interfaces @@ -473,16 +473,6 @@ class PyLinterTC(unittest.TestCase): ['C: 2: Line too long (175/100)'], self.linter.reporter.messages) - def test_html_reporter_missing_files(self): - output = six.StringIO() - self.linter.set_reporter(html.HTMLReporter(output)) - self.linter.set_option('output-format', 'html') - self.linter.check('troppoptop.py') - self.linter.generate_reports() - value = output.getvalue() - self.assertIn('troppoptop.py', value) - self.assertIn('fatal', value) - def test_python3_checker_disabled(self): checker_names = [c.name for c in self.linter.prepare_checkers()] self.assertNotIn('python3', checker_names) -- cgit v1.2.1