diff options
author | Lucas Alvares Gomes <lucasagomes@gmail.com> | 2015-12-17 18:15:15 +0000 |
---|---|---|
committer | Haomeng,Wang <whaom@cn.ibm.com> | 2015-12-24 01:56:39 +0000 |
commit | b51f7d4d8c4d6760521d5bc2349911c40823de64 (patch) | |
tree | ab63773cda6365d54bb2bb0e2db102155bd80698 /tools | |
parent | 930dee6242a11a2d85d378414763250f7bfa375c (diff) | |
download | ironic-b51f7d4d8c4d6760521d5bc2349911c40823de64.tar.gz |
Run flake8 against the python scripts under tools/ and devstack/tools
This patch allows flake8 to run against the scripts under tools/ and
devstack/tools directories.
It also fix the current pep8 errors where it's needed.
Change-Id: I3f447564dd528c6efdee10a4a13f1ff1d7e1c3b1
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/states_to_dot.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/states_to_dot.py b/tools/states_to_dot.py index c452351c2..0a03c2c0e 100755 --- a/tools/states_to_dot.py +++ b/tools/states_to_dot.py @@ -26,6 +26,7 @@ top_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) sys.path.insert(0, top_dir) + def print_header(text): print("*" * len(text)) print(text) |