From 3f57a37a919f86f242d6c5f2ad6299fb01717759 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Mar 2024 11:20:09 +0000 Subject: [PATCH] Bump black from 22.3.0 to 24.3.0 (#804) * Bump black from 22.3.0 to 24.3.0 Bumps [black](https://github.com/psf/black) from 22.3.0 to 24.3.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/22.3.0...24.3.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production ... Signed-off-by: dependabot[bot] * Reformat files with new black --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Bannink --- larq_compute_engine/mlir/python/converter_test.py | 6 +++--- larq_compute_engine/tests/preprocess.py | 1 + test-requirements.txt | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/larq_compute_engine/mlir/python/converter_test.py b/larq_compute_engine/mlir/python/converter_test.py index 36bad5e5..ed066ca6 100644 --- a/larq_compute_engine/mlir/python/converter_test.py +++ b/larq_compute_engine/mlir/python/converter_test.py @@ -7,9 +7,9 @@ from tensorflow.python.eager import context sys.modules["larq_compute_engine.mlir._tf_tfl_flatbuffer"] = mock.MagicMock() -sys.modules[ - "larq_compute_engine.tflite.python.interpreter_wrapper_lite" -] = mock.MagicMock() +sys.modules["larq_compute_engine.tflite.python.interpreter_wrapper_lite"] = ( + mock.MagicMock() +) sys.modules["larq_compute_engine.mlir.python.tflite_schema"] = mock.MagicMock() from larq_compute_engine.mlir.python.converter import convert_keras_model diff --git a/larq_compute_engine/tests/preprocess.py b/larq_compute_engine/tests/preprocess.py index 964114e7..a21f4f2d 100644 --- a/larq_compute_engine/tests/preprocess.py +++ b/larq_compute_engine/tests/preprocess.py @@ -1,4 +1,5 @@ """From larq_zoo/training/data.py""" + import tensorflow as tf IMAGE_SIZE = 224 diff --git a/test-requirements.txt b/test-requirements.txt index 4aa3f91b..26c1ada3 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,3 +1,3 @@ -black==22.3.0 +black==24.3.0 pyflakes==2.4.0 pytype==2022.3.29