Skip to content

Commit

Permalink
Add pylint disable=consider-using-with
Browse files Browse the repository at this point in the history
  • Loading branch information
hengtaoguo committed Jan 10, 2025
1 parent 07e4803 commit 10869d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MaxText/profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def deactivate(self, blocking_object=None):
else:
max_logging.log("WARNING: gsutil is not installed or not found in the system's PATH. Skipping upload...")
else:
subprocess.Popen(["cp", "*nsys-rep", self.output_path])
subprocess.Popen(["cp", "*nsys-rep", self.output_path]) # pylint: disable=consider-using-with
elif self.mode == "xplane":
jax.profiler.stop_trace()

Expand Down

0 comments on commit 10869d2

Please sign in to comment.