金字塔网络应用程序中使用的招摇工具
pyramid-swagger的Python项目详细描述
PyPI: | https://pypi.python.org/pypi/pyramid_swagger |
---|---|
Documentation: | http://pyramid-swagger.readthedocs.org/en/latest/ |
Source: | https://github.com/striglia/pyramid_swagger |
License: | Copyright © 2014 Scott Triglia under the BSD 3-clause |
Build status: | |
Current coverage on master: | |
Persistent chat for questions: | |
金字塔招摇
这个项目提供了使用swagger定义和验证的方便工具。 你在金字塔网络应用中的界面。
完整的文档可在http://pyramid-swagger.readthedocs.org/获得。
如何贡献
在github上派生这个存储库:https://help.github.com/articles/fork-a-repo/
克隆分叉存储库:https://help.github.com/articles/cloning-a-repository/
为您的更改创建功能分支:
git remote add upstream https://github.com/striglia/pyramid_swagger.git git fetch upstream git checkout upstream/master -b my-feature-branch
创建并激活虚拟环境,这将为您提供 开发金字塔所需的库和工具:
make source .activate.sh
在开始之前确保测试套件工作:
tox -e py27 # Note: use py35 for Python 3.5, see tox.ini for possible values
提交修补程序:http://gitref.org/basic/
推送到github:git pull && git push origin
发送请求:https://help.github.com/articles/creating-a-pull-request/
运行单个测试
确保已激活虚拟环境(请参见上文)。
py.test -vvv tests/tween_test.py::test_response_properties