Skip to content

Commit

Permalink
fix flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
benclifford committed Aug 1, 2023
1 parent c8508ce commit f646540
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion parsl/monitoring/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
monitoring_wrapper_cache: Dict
monitoring_wrapper_cache = {}


def monitor_wrapper(f: Any, # per app
args: Sequence, # per invocation
kwargs: Dict, # per invocation
Expand Down Expand Up @@ -49,7 +50,7 @@ def monitor_wrapper(f: Any, # per app
# serialized. This doesn't happen on the underlying wrapped function
# and doesn't happen if no @wraps is specified.
# I am unsure why.
@functools.wraps(f, assigned = ('__name__', '__qualname__', '__doc__', '__annotations__'))
@functools.wraps(f, assigned=('__name__', '__qualname__', '__doc__', '__annotations__'))
def parsl_monitoring_wrapper(*args: List[Any], **kwargs: Dict[str, Any]) -> Any:
task_id = kwargs.pop('_parsl_monitoring_task_id')
try_id = kwargs.pop('_parsl_monitoring_try_id')
Expand Down
2 changes: 1 addition & 1 deletion parsl/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Set module version.
"""
VERSION = '2023.07.31-dev+desc-2023.08.01b'
VERSION = '2023.07.31-dev+desc-2023.08.01c'

0 comments on commit f646540

Please sign in to comment.