File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
1
[TYPECHECK]
2
- ignored-classes =pytest
3
- disable =bad-option-value
2
+
3
+ ignored-classes = pytest
4
+
5
+
6
+ [MESSAGES CONTROL]
7
+
8
+ disable = useless-object-inheritance
Original file line number Diff line number Diff line change @@ -166,16 +166,12 @@ def pytest_configure(config):
166
166
config .addinivalue_line ('markers' , "pylint: Tests which run pylint." )
167
167
168
168
169
- # There will be an old-style-class error in Python 2.7,
170
- # or a useless-object-inheritance warning in Python 3.
171
- # If disable any, pylint will have a bad-option-value error in 2.7 or 3.
172
- # Finally I have to disable useless-object-inheritance locally
173
- # and bad-option-value globally.
174
- # pylint: disable=too-few-public-methods, useless-object-inheritance
175
169
class PylintPlugin (object ):
176
170
"""
177
171
A Plugin object for pylint, which loads and records file mtimes.
178
172
"""
173
+ # pylint: disable=too-few-public-methods
174
+
179
175
def __init__ (self , config ):
180
176
self .mtimes = config .cache .get (HISTKEY , {})
181
177
You can’t perform that action at this time.
0 commit comments