| 1 |
[run] |
| 2 |
source = drf_yasg |
| 3 |
branch = True |
| 4 |
parallel = true |
| 5 |
disable_warnings = module-not-measured |
| 6 |
|
| 7 |
[report] |
| 8 |
# Regexes for lines to exclude from consideration |
| 9 |
exclude_lines = |
| 10 |
# Have to re-enable the standard pragma |
| 11 |
pragma: no cover |
| 12 |
|
| 13 |
# Don't complain about missing debug-only code: |
| 14 |
def __repr__ |
| 15 |
if self/.debug |
| 16 |
|
| 17 |
# Don't complain if tests don't hit defensive assertion code: |
| 18 |
raise AssertionError |
| 19 |
raise ImproperlyConfigured |
| 20 |
raise TypeError |
| 21 |
raise NotImplementedError |
| 22 |
warnings.warn |
| 23 |
logger.debug |
| 24 |
logger.info |
| 25 |
logger.warning |
| 26 |
logger.error |
| 27 |
return NotHandled |
| 28 |
|
| 29 |
# Don't complain if non-runnable code isn't run: |
| 30 |
if 0: |
| 31 |
if __name__ == .__main__.: |
| 32 |
|
| 33 |
# Don't complain if we don't hit invalid schema configurations |
| 34 |
raise SwaggerGenerationError |
| 35 |
|
| 36 |
ignore_errors = True |
| 37 |
precision = 2 |
| 38 |
show_missing = True |
| 39 |
|
| 40 |
[paths] |
| 41 |
source = |
| 42 |
src/drf_yasg/ |
| 43 |
.tox/*/Lib/site-packages/drf_yasg/ |
| 44 |
.tox/*/lib/*/site-packages/drf_yasg/ |
| 45 |
/home/travis/virtualenv/*/lib/*/site-packages/drf_yasg/ |