From 2a62b4ed4eff6221538f13359e4edcf7bbb42dfd Mon Sep 17 00:00:00 2001 From: JacksonMaxfield Date: Tue, 19 Apr 2022 08:52:46 -0700 Subject: [PATCH] Upgrade black version --- .pre-commit-config.yaml | 2 +- aicsimageio/writers/ome_tiff_writer.py | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1a58eb748..ab5988378 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: hooks: - id: isort - repo: https://github.com/psf/black - rev: 21.9b0 + rev: 22.3.0 hooks: - id: black - repo: https://github.com/pre-commit/mirrors-mypy diff --git a/aicsimageio/writers/ome_tiff_writer.py b/aicsimageio/writers/ome_tiff_writer.py index 0d0aa9e2c..a8316a51f 100644 --- a/aicsimageio/writers/ome_tiff_writer.py +++ b/aicsimageio/writers/ome_tiff_writer.py @@ -24,7 +24,7 @@ # the libtiff writer was unable to handle a 2GB numpy array. # It would be great if we better understood exactly what this threshold is and how to # calculate it but for now this is a stopgap working value -BIGTIFF_BYTE_LIMIT = 2 ** 21 +BIGTIFF_BYTE_LIMIT = 2**21 class OmeTiffWriter(Writer): diff --git a/setup.py b/setup.py index 0ae8ae03e..f33af68a6 100644 --- a/setup.py +++ b/setup.py @@ -73,7 +73,7 @@ def run(self): *setup_requirements, *test_requirements, "asv>=0.4.2", - "black>=19.10b0", + "black>=22.3.0", "bump2version>=1.0.1", "coverage>=5.1", "flake8>=3.8.3",