diff options
author | Nick Drozd <nicholasdrozd@gmail.com> | 2018-06-28 16:46:38 -0500 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-06-28 14:46:38 -0700 |
commit | c5314076a38443d5be1b13567838920bfeaf27cd (patch) | |
tree | 294f7812514a42a37312aaba6fe6e38a11936b4f /astroid/mixins.py | |
parent | d94f8903a0beaa77d5e735c5d7c19b5e725bbea9 (diff) | |
download | astroid-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.py | 6 |
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 |