diff options
| author | Yuren Hao <yurenh2@timan108.cs.illinois.edu> | 2025-09-04 22:16:22 -0500 |
|---|---|---|
| committer | Yuren Hao <yurenh2@timan108.cs.illinois.edu> | 2025-09-04 22:16:22 -0500 |
| commit | fc6d57ffb8d5ddb5820fcc00b5491a585c259ebc (patch) | |
| tree | e9841f93a353e2107225cfc721d1ce57c0e594dc /Qwen2.5-Eval/evaluation/latex2sympy/.coveragerc | |
Initial commit
Diffstat (limited to 'Qwen2.5-Eval/evaluation/latex2sympy/.coveragerc')
| -rwxr-xr-x | Qwen2.5-Eval/evaluation/latex2sympy/.coveragerc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Qwen2.5-Eval/evaluation/latex2sympy/.coveragerc b/Qwen2.5-Eval/evaluation/latex2sympy/.coveragerc new file mode 100755 index 0000000..3aeb83f --- /dev/null +++ b/Qwen2.5-Eval/evaluation/latex2sympy/.coveragerc @@ -0,0 +1,31 @@ +# .coveragerc to control coverage.py +[run] +branch = True +include = + latex2sympy.py +omit = + sandbox/* + gen/* + asciimath_printer.py + setup.py + __init__.py + +[report] +# Regexes for lines to exclude from consideration +exclude_lines = + # Have to re-enable the standard pragma + pragma: no cover + + # Don't complain about missing debug-only code: + def __repr__ + if self\.debug + + # Don't complain if tests don't hit defensive assertion code: + raise AssertionError + raise NotImplementedError + + # Don't complain if non-runnable code isn't run: + if 0: + if __name__ == .__main__.: + +ignore_errors = True |
