Skip to content

Commit 6083f02

Browse files
committed
Update a couple outdated lints.
1 parent 69066bb commit 6083f02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runmanager/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def add_expansion_groups(filename):
137137
requires_expansion_group = []
138138
for groupname in f['globals']:
139139
group = f['globals'][groupname]
140-
if not 'expansion' in group:
140+
if 'expansion' not in group:
141141
requires_expansion_group.append(groupname)
142142
if requires_expansion_group:
143143
group_globalslists = [get_globalslist(filename, groupname) for groupname in requires_expansion_group]
@@ -512,7 +512,7 @@ def evaluate_globals(sequence_globals, raise_exceptions=True):
512512
for global_name in sequence_globals[group_name]:
513513
# Do not attempt to override exception objects already stored
514514
# as the result of multiply defined globals:
515-
if not global_name in results[group_name]:
515+
if global_name not in results[group_name]:
516516
results[group_name][global_name] = evaled_globals[global_name]
517517

518518
return results, global_hierarchy, expansions

0 commit comments

Comments
 (0)