You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.coveragerc 1.0KB

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