We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d637744 commit 65a5a4aCopy full SHA for 65a5a4a
misc/profile_check.py
@@ -79,7 +79,7 @@ def check_requirements() -> None:
79
# TODO: How to make this work on other platforms?
80
sys.exit("error: Only Linux is supported")
81
82
- try:
+ try: #type: ignore[unreachable] # https://github.com/python/mypy/issues/10773
83
subprocess.run(["perf", "-h"], capture_output=True)
84
except (subprocess.CalledProcessError, FileNotFoundError):
85
print("error: The 'perf' profiler is not installed")
0 commit comments