summaryrefslogtreecommitdiff
path: root/Qwen2.5-Eval/evaluation/latex2sympy/.coveragerc
diff options
context:
space:
mode:
authorzitian-gao <zitian.gao@outlook.com>2025-05-27 16:45:31 +0800
committerzitian-gao <zitian.gao@outlook.com>2025-05-27 16:45:31 +0800
commit7c792461c8e4e4f1f8734fed143630c74e76b27f (patch)
treecf6341ff9f2727424751da7a11a3bea6c39015bb /Qwen2.5-Eval/evaluation/latex2sympy/.coveragerc
parent16815c8c5ec263c4bd1a0af60030c1c0efa1421e (diff)
init eval
Diffstat (limited to 'Qwen2.5-Eval/evaluation/latex2sympy/.coveragerc')
-rwxr-xr-xQwen2.5-Eval/evaluation/latex2sympy/.coveragerc31
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