Skip to content

Commit

Permalink
Disable lint for use of global
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Sep 3, 2024
1 parent 7df2f4b commit 821af3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rebench/denoise_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


def get_number_of_cores():
global _num_cpu_cores
global _num_cpu_cores # pylint: disable=global-statement
if _num_cpu_cores is None:
cpu_info = get_cpu_info()
_num_cpu_cores = cpu_info["count"]
Expand Down

0 comments on commit 821af3d

Please sign in to comment.