From 89d43e385e99edd4da0cad0b8142188883a50eed Mon Sep 17 00:00:00 2001 From: Zuul Date: Tue, 22 Sep 2020 12:29:43 +0000 Subject: [PATCH] Update git submodules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update oslo.serialization from branch 'master' - Merge "Adding pre-commit" - Adding pre-commit Introduced changes: - pre-commit config and rules. - Add pre-commit to pep8 gate, Flake8 is covered in the pre-commit hooks. - Applying fixes for pre-commit compliance in all code. Also commit hash will be used instead of version tags in pre-commit to prevend arbitrary code from running in developer's machines. pre-commit will be used to: - trailing whitespace; - Replaces or checks mixed line ending (mixed-line-ending); - Forbid files which have a UTF-8 byte-order marker (check-byte-order-marker); - Checks that non-binary executables have a proper shebang (check-executables-have-shebangs); - Check for files that contain merge conflict strings (check-merge-conflict); - Check for debugger imports and py37+ breakpoint() calls in python source (debug-statements); - Attempts to load all yaml files to verify syntax (check-yaml); - Run flake8 checks (flake8) (local) For further details about tests please refer to: https://github.com/pre-commit/pre-commit-hooks Change-Id: I8c993d6ffaf869f67713bbbde8632a0143ed0c72 Signed-off-by: Moisés Guimarães de Medeiros --- oslo.serialization | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oslo.serialization b/oslo.serialization index 128a747332..5c01e16192 160000 --- a/oslo.serialization +++ b/oslo.serialization @@ -1 +1 @@ -Subproject commit 128a747332494e674d95235483976046fbd53a5c +Subproject commit 5c01e16192735d73dda45a0f8871d143f2c16052