Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
chen3feng committed Apr 22, 2024
1 parent 607b534 commit 8df3f21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/blade/inclusion_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,8 @@ def check(target_check_info_file):
target = pickle.load(open(target_check_info_file, 'rb'))
extra_file = target_check_info_file + '.extra'
if os.path.exists(extra_file):
extra_target = pickle.load(open(extra_file, 'rb'))
with open(extra_file, 'rb') as f:
extra_target = pickle.load(f)
target.update(extra_target)
checker = Checker(target)
return checker.check()

0 comments on commit 8df3f21

Please sign in to comment.