Skip to content

Commit a73c801

Browse files
committed
suppress cython performance hint warning
1 parent 922ac53 commit a73c801

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tools/cython_setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,8 @@ def get_ext_modules(options):
428428
"c_string_encoding": "utf-8",
429429
"profile": ENABLE_PROFILING,
430430
"linetrace": ENABLE_LINE_TRACING,
431+
"show_performance_hints": False, # default directive would produce
432+
# way too many warning
431433
},
432434

433435
language="c++",

0 commit comments

Comments
 (0)