Rewrite schema generation (#1)
* Completeley rewritten schema generation * Added support for python 2.7 and 3.4 * Restructured testing and build configuration * Added nested request schemas This rewrite completely replaces the public interface of the django rest schema generation library, so further changes will be needed to re-enable and further extend the customization points one might want.
This commit is contained in:
+32
@@ -0,0 +1,32 @@
|
||||
[run]
|
||||
source = drf_swagger
|
||||
branch = True
|
||||
|
||||
[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
|
||||
warnings.warn
|
||||
|
||||
# Don't complain if non-runnable code isn't run:
|
||||
if 0:
|
||||
if __name__ == .__main__.:
|
||||
|
||||
ignore_errors = True
|
||||
precision = 0
|
||||
|
||||
[paths]
|
||||
source =
|
||||
src/drf_swagger/
|
||||
.tox/*/Lib/site-packages/drf_swagger/
|
||||
.tox/*/lib/*/site-packages/drf_swagger/
|
||||
/home/travis/virtualenv/*/lib/*/site-packages/drf_swagger/
|
||||
Reference in New Issue
Block a user