Skip to content

Commit eb46e33

Browse files
committed
Remove pylint 'no-self-use' which was moved to an optional extension
1 parent 9384136 commit eb46e33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/mysql/connector/django/introspection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def get_relations(
297297
relations[my_fieldname] = (other_field, other_table)
298298
return relations
299299

300-
def get_key_columns( # pylint: disable=no-self-use
300+
def get_key_columns(
301301
self, cursor: "CursorWrapper", table_name: str
302302
) -> List[Tuple[str, str, str]]:
303303
"""

lib/mysqlx/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2224,7 +2224,7 @@ def use_pure(self):
22242224
return Protobuf.use_pure
22252225

22262226
@use_pure.setter
2227-
def use_pure(self, value): # pylint: disable=no-self-use
2227+
def use_pure(self, value):
22282228
if not isinstance(value, bool):
22292229
raise ProgrammingError("'use_pure' option should be True or False")
22302230
Protobuf.set_use_pure(value)

0 commit comments

Comments
 (0)