Keep pre-commit inline with hacking and fix whitespace
The flake8 hook for pre-commit installs its own flake8 which is not what hacking is pinned to. This results in a bunch of errors. By doing a local hook we can cause these to be the same. There are flake8 exclusions in tox.ini that need to be used in pre-commit. Also we should exclude svg files from the whitespace modifications, because who cares. Once those are fixed, running pre-commit -a fixes some whitespace issues. While the normal use isn't to run -a - if someone does make a patch that touches any of these they'll get erroneous unrelated errors compared to their lower work - so fix all of the existing issues, which are mostly space-at-end-of-line issues it seems. Change-Id: I78e753492e99c03b30a0a691db3bd75ee3d289c9
This commit is contained in:
committed by
Stephen Finucane
parent
2e7a0088c2
commit
e7cc5efd20
@@ -1,4 +1,4 @@
|
||||
---
|
||||
---
|
||||
upgrade:
|
||||
- Removed the ``security_group_api`` configuration option that was deprecated
|
||||
in Mitaka. The correct security_group_api option will be chosen based on
|
||||
|
||||
Reference in New Issue
Block a user