From bc57b088639e44fd539850a2d6c3b7c36b45e455 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 6 Jan 2018 12:27:48 +0100 Subject: [PATCH] Change coveragerc a bit Remove some exclude lines, because they don't matter and don't appear in our code base. The files that are excluded are cannot be measured (because it's part of a subprocess) or are statically analyzed. In addition refactoring.py hasn't been in use for a long time. --- .coveragerc | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.coveragerc b/.coveragerc index 939a3175..0d4b0ca3 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,19 +1,15 @@ [run] omit = jedi/_compatibility.py - jedi/evaluate/site.py + jedi/evaluate/compiled/__main__.py + jedi/__main__.py + # Is statically analyzed and not actually executed. + jedi/evaluate/jedi_typing.py + # For now this is not being used. + jedi/refactoring.py [report] # Regexes for lines to exclude from consideration exclude_lines = # 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__.: