@@ -0,0 +1,9 @@
|
||||
sudo: false
|
||||
language: python
|
||||
dist: xenial
|
||||
python:
|
||||
- "3.6"
|
||||
install: pip install tox-travis
|
||||
script:
|
||||
- tox -c tox.ini -e pep8
|
||||
- tox -c tox.ini -e py36
|
||||
@@ -31,4 +31,4 @@ commands = flake8 {posargs} zaza unit_tests
|
||||
commands = {posargs}
|
||||
|
||||
[flake8]
|
||||
ignore = E402,E226
|
||||
ignore = E402,E226
|
||||
|
||||
+2
-2
@@ -22,8 +22,8 @@ async def deployed(filter=None):
|
||||
def main():
|
||||
# Run the deploy coroutine in an asyncio event loop, using a helper
|
||||
# that abstracts loop creation and teardown.
|
||||
print("Current applications: {}".format( ", ".join(loop.run(deployed()))))
|
||||
print("Current applications: {}".format(", ".join(loop.run(deployed()))))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
main()
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import argparse
|
||||
import zaza
|
||||
|
||||
|
||||
def parser(args=None):
|
||||
@@ -19,4 +18,4 @@ def main():
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user