Add examples tox target which lints the documentation examples.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/b56c0a02 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/b56c0a02 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/b56c0a02 Branch: refs/heads/trunk Commit: b56c0a024b0ab08f629121ffa1ce49ea04b81c7f Parents: 1e4a0cd Author: Tomaz Muraus <[email protected]> Authored: Sat Aug 3 14:40:57 2013 +0200 Committer: Tomaz Muraus <[email protected]> Committed: Sat Aug 3 14:40:57 2013 +0200 ---------------------------------------------------------------------- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/b56c0a02/tox.ini ---------------------------------------------------------------------- diff --git a/tox.ini b/tox.ini index 3730105..60f42d7 100644 --- a/tox.ini +++ b/tox.ini @@ -40,3 +40,7 @@ deps = sphinx basepython = python changedir = docs commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html + +[testenv:examples] +deps = flake8 +commands = flake8 docs/examples/
