Skip to content

Commit

Permalink
pylint: enable useless-return
Browse files Browse the repository at this point in the history
  • Loading branch information
dcbaker authored and eli-schwartz committed Nov 30, 2022
1 parent 5794805 commit a5d547e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ disable=
unused-argument,
unused-variable,
use-implicit-booleaness-not-comparison,
useless-return,
useless-super-delegation,
wrong-import-order,
wrong-import-position,
1 change: 0 additions & 1 deletion mesonbuild/interpreterbase/interpreterbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,6 @@ def assignment(self, node: mparser.AssignmentNode) -> None:
if isinstance(value, MutableInterpreterObject):
value = copy.deepcopy(value)
self.set_variable(var_name, value)
return None

def set_variable(self, varname: str, variable: T.Union[TYPE_var, InterpreterObject], *, holderify: bool = False) -> None:
if variable is None:
Expand Down
1 change: 0 additions & 1 deletion mesonbuild/mdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ def handle_dirty_opt(msg, allow_dirty: bool):
else:
mlog.error(msg + '\n' + 'Use --allow-dirty to ignore the warning and proceed anyway')
sys.exit(1)
return

def process_submodules(src, distdir, options):
module_file = os.path.join(src, '.gitmodules')
Expand Down

0 comments on commit a5d547e

Please sign in to comment.