File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -190,10 +190,10 @@ def _load_reporter_by_class(reporter_class: str) -> type:
190
190
191
191
# pylint: disable=too-many-instance-attributes,too-many-public-methods
192
192
class PyLinter (
193
+ _ArgumentsManager ,
193
194
config .OptionsManagerMixIn ,
194
195
reporters .ReportsHandlerMixIn ,
195
196
checkers .BaseTokenChecker ,
196
- _ArgumentsManager ,
197
197
):
198
198
"""Lint Python modules using external checkers.
199
199
Original file line number Diff line number Diff line change @@ -122,13 +122,13 @@ def test_pylint_config_attr() -> None:
122
122
mod = astroid .MANAGER .ast_from_module_name ("pylint.lint.pylinter" )
123
123
pylinter = mod ["PyLinter" ]
124
124
expect = [
125
- "OptionsManagerMixIn " ,
125
+ "_ArgumentsManager " ,
126
126
"object" ,
127
+ "OptionsManagerMixIn" ,
127
128
"ReportsHandlerMixIn" ,
128
129
"BaseTokenChecker" ,
129
130
"BaseChecker" ,
130
131
"OptionsProviderMixIn" ,
131
- "_ArgumentsManager" ,
132
132
]
133
133
assert [c .name for c in pylinter .ancestors ()] == expect
134
134
assert list (astroid .Instance (pylinter ).getattr ("config" ))
You can’t perform that action at this time.
0 commit comments