Skip to content

Commit

Permalink
Fix linter warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Christophe Morin <[email protected]>
  • Loading branch information
JeanChristopheMorinPerso committed Feb 5, 2024
1 parent cdea6eb commit c287960
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/rez/resolved_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
from rez.utils import json
from rez.utils.yaml import dump_yaml
from rez.utils.platform_ import platform_
import rez.deprecations

from contextlib import contextmanager
from functools import wraps
Expand Down
8 changes: 5 additions & 3 deletions src/rez/rex.py
Original file line number Diff line number Diff line change
Expand Up @@ -1419,9 +1419,11 @@ def execute_code(self, code, filename=None):
code (str or SourceCode): Rex code to execute.
filename (str): Filename to report if there are syntax errors.
"""
self.compile_code(code=code,
filename=filename,
exec_namespace=self.globals)
self.compile_code(
code=code,
filename=filename,
exec_namespace=self.globals
)

def execute_function(self, func, *nargs, **kwargs):
"""
Expand Down

0 comments on commit c287960

Please sign in to comment.