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.
This commit is contained in:
Dave Halter
2018-01-06 12:27:48 +01:00
parent 14ac874e1a
commit bc57b08863

View File

@@ -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__.: