40fcb9ba28
autopep8 is an automated code formatting tool for python, it does not know everything, also not super fast, but it is faster than I can manually reformat the code. tools/format.sh will call the formatting, the tox will check did you called it. Also adding a tox -eautopep8 way to use it. autopep8 formats the lines in one way, where tempest used a another way it was changed. Change-Id: I6d51b14a5a5b87761071d0927fca23ba1651aa41
6 lines
183 B
Bash
Executable File
6 lines
183 B
Bash
Executable File
#!/bin/bash
|
|
cd $(dirname "$(readlink -f "$0")")
|
|
|
|
autopep8 --exit-code --max-line-length=79 --experimental --in-place -r ../tempest ../setup.py && echo Formatting was not needed. >&2
|
|
|