summaryrefslogtreecommitdiff
path: root/astroid/mixins.py
diff options
context:
space:
mode:
authorNick Drozd <nicholasdrozd@gmail.com>2018-06-28 16:46:38 -0500
committerClaudiu Popa <pcmanticore@gmail.com>2018-06-28 14:46:38 -0700
commitc5314076a38443d5be1b13567838920bfeaf27cd (patch)
tree294f7812514a42a37312aaba6fe6e38a11936b4f /astroid/mixins.py
parentd94f8903a0beaa77d5e735c5d7c19b5e725bbea9 (diff)
downloadastroid-git-c5314076a38443d5be1b13567838920bfeaf27cd.tar.gz
Fix useless-object-inheritance lint error (#573)
See https://github.com/PyCQA/pylint/pull/2209
Diffstat (limited to 'astroid/mixins.py')
-rw-r--r--astroid/mixins.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/astroid/mixins.py b/astroid/mixins.py
index fab88344..d63ba15a 100644
--- a/astroid/mixins.py
+++ b/astroid/mixins.py
@@ -12,7 +12,7 @@ from astroid import decorators
from astroid import exceptions
-class BlockRangeMixIn(object):
+class BlockRangeMixIn:
"""override block range """
@decorators.cachedproperty
@@ -32,7 +32,7 @@ class BlockRangeMixIn(object):
return lineno, last or self.tolineno
-class FilterStmtsMixin(object):
+class FilterStmtsMixin:
"""Mixin for statement filtering and assignment type"""
def _get_filtered_stmts(self, _, node, _stmts, mystmt):
@@ -47,7 +47,7 @@ class FilterStmtsMixin(object):
return self
-class AssignTypeMixin(object):
+class AssignTypeMixin:
def assign_type(self):
return self