Browse Source

Merge "Enable pep8 to check files in directory tools"

Jenkins 3 years ago
parent
commit
75faffbb81
2 changed files with 9 additions and 9 deletions
  1. 8
    8
      tools/install_venv.py
  2. 1
    1
      tox.ini

+ 8
- 8
tools/install_venv.py View File

@@ -28,16 +28,16 @@ def print_help(venv, root):
28 28
     help = """
29 29
     Murano agent development environment setup is complete.
30 30
 
31
-    Murano agent development uses virtualenv to track and manage Python dependencies
32
-    while in development and testing.
31
+    Murano agent development uses virtualenv to track and manage Python
32
+    dependencies while in development and testing.
33 33
 
34
-    To activate the Murano agent virtualenv for the extent of your current shell
35
-    session you can run:
34
+    To activate the Murano agent virtualenv for the extent of your current
35
+    shell session you can run:
36 36
 
37 37
     $ source %s/bin/activate
38 38
 
39
-    Or, if you prefer, you can run commands in the virtualenv on a case by case
40
-    basis by running:
39
+    Or, if you prefer, you can run commands in the virtualenv on a case by
40
+    case basis by running:
41 41
 
42 42
     $ %s/tools/with_venv.sh <your command>
43 43
 
@@ -59,8 +59,8 @@ def main(argv):
59 59
     test_requires = os.path.join(root, 'test-requirements.txt')
60 60
     py_version = "python%s.%s" % (sys.version_info[0], sys.version_info[1])
61 61
     project = 'Murano agent'
62
-    install = install_venv.InstallVenv(root, venv, pip_requires, test_requires,
63
-                             py_version, project)
62
+    install = install_venv.InstallVenv(root, venv, pip_requires,
63
+                                       test_requires, py_version, project)
64 64
     options = install.parse_args(argv)
65 65
     install.check_python_version()
66 66
     install.check_dependencies()

+ 1
- 1
tox.ini View File

@@ -41,4 +41,4 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
41 41
 [flake8]
42 42
 ignore = F401
43 43
 show-source = true
44
-exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools
44
+exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg

Loading…
Cancel
Save