12012-07-02 Dirk Pranke <dpranke@chromium.org>
2
3 webkitpy: lint code in webkitpy.layout_tests.models
4 https://bugs.webkit.org/show_bug.cgi?id=90416
5
6 Reviewed by NOBODY (OOPS!).
7
8 Cleaning up errors reported from lint-webkitpy.
9
10 Also, suppress the warnings about wildcard imports in pylintrc;
11 we have nothing particularly against them.
12
13 * Scripts/webkitpy/layout_tests/models/test_configuration.py:
14 (TestConfigurationConverter.combinations):
15 * Scripts/webkitpy/layout_tests/models/test_configuration_unittest.py:
16 (TestConfigurationTest.test_hash.query_unknown_key):
17 (TestConfigurationTest.test_eq):
18 * Scripts/webkitpy/layout_tests/models/test_expectations.py:
19 (ParseError.__init__):
20 (TestExpectationLine.__init__):
21 (TestExpectationsModel.get_expectations_string):
22 (TestExpectationsModel):
23 (TestExpectationsModel.expectation_to_string):
24 (TestExpectationsModel.add_expectation_line):
25 (TestExpectationsModel._clear_expectations_for_test):
26 (TestExpectationsModel._remove_from_sets):
27 (TestExpectations.get_expectations_string):
28 (TestExpectations.expectation_to_string):
29 (TestExpectations._report_warnings):
30 * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
31 (Base.__init__):
32 (parse_exp):
33 (SkippedTests.check):
34 (TestExpectationParserTests.test_parse_empty_string):
35 * Scripts/webkitpy/layout_tests/models/test_failures.py:
36 (FailureTimeout.__init__):
37 (FailureCrash.__init__):
38 (FailureImageHashMismatch.__init__):
39 (FailureReftestMismatch.__init__):
40 (FailureReftestMismatchDidNotOccur.__init__):
41 (FailureReftestNoImagesGenerated.__init__):
42 * Scripts/webkitpy/layout_tests/models/test_failures_unittest.py:
43 (TestFailuresTest.test_unknown_failure_type.UnknownFailure.message):
44 (TestFailuresTest.test_unknown_failure_type):
45 (TestFailuresTest):
46 (TestFailuresTest.test_message_is_virtual):
47 * Scripts/webkitpy/layout_tests/models/test_results.py:
48 (TestResult.loads):
49 (TestResult.has_failure_matching_types):
50 * Scripts/webkitpy/pylintrc:
51