diff options
| author | Andreas Jaeger <aj@suse.com> | 2020-04-01 19:47:23 +0200 |
|---|---|---|
| committer | Andreas Jaeger <aj@suse.com> | 2020-04-01 21:42:41 +0200 |
| commit | 1456d8b6f9f86d974459685091f143f0a0b4b345 (patch) | |
| tree | 9354c6ff0913063d4800ee564b01b4976ef94a82 /tools | |
| parent | 69f74554671a49c75bebeeed9d83816ffbd7efec (diff) | |
| download | kolla-1456d8b6f9f86d974459685091f143f0a0b4b345.tar.gz kolla-1456d8b6f9f86d974459685091f143f0a0b4b345.zip | |
Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found by updated hacking version.
Update local hacking checks for new flake8.
Remove hacking and friends from lower-constraints, they are not
needed in installations.
Change-Id: I67e5ca24c550163c218fb06692de0b7c528d8318
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/validate-all-file.py | 1 | ||||
| -rwxr-xr-x | tools/validate-yaml.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/validate-all-file.py b/tools/validate-all-file.py index c04fb4000..67f03218a 100755 --- a/tools/validate-all-file.py +++ b/tools/validate-all-file.py @@ -109,5 +109,6 @@ def main(): ) return sum([check() for check in checks]) + if __name__ == "__main__": sys.exit(main()) diff --git a/tools/validate-yaml.py b/tools/validate-yaml.py index 400a3821b..5af8668be 100755 --- a/tools/validate-yaml.py +++ b/tools/validate-yaml.py @@ -40,5 +40,6 @@ def main(): sys.exit(res) + if __name__ == '__main__': main() |
