]> Repositories - hackapet/Adafruit_Blinka_Displayio.git/commitdiff
Updated requirements and pre-commit repo versions
authorMelissa LeBlanc-Williams <melissa@adafruit.com>
Mon, 18 Sep 2023 16:45:00 +0000 (09:45 -0700)
committerMelissa LeBlanc-Williams <melissa@adafruit.com>
Mon, 18 Sep 2023 16:45:00 +0000 (09:45 -0700)
.pre-commit-config.yaml
displayio/_bitmap.py
displayio/_tilegrid.py
requirements.txt
setup.py

index cb4fa5cf29ed57854ed37d2ec20ce62ff6c0d158..ab37f6702f97663035a7a918bcd845bfa8bcb6ff 100644 (file)
@@ -4,21 +4,21 @@
 
 repos:
 -   repo: https://github.com/python/black
-    rev: 22.3.0
+    rev: 23.3.0
     hooks:
     - id: black
 -   repo: https://github.com/fsfe/reuse-tool
-    rev: v0.14.0
+    rev: v1.1.2
     hooks:
     - id: reuse
 -   repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v4.2.0
+    rev: v4.4.0
     hooks:
     -   id: check-yaml
     -   id: end-of-file-fixer
     -   id: trailing-whitespace
 -   repo: https://github.com/pycqa/pylint
-    rev: v2.15.5
+    rev: v2.17.4
     hooks:
     -   id: pylint
         name: pylint (library code)
index b0e36559b8151c6dddbf104d3ca2a383e19f1401..c61de47217a982550ccf4c6451aa9f822bf199a1 100644 (file)
@@ -154,7 +154,6 @@ class Bitmap:
                 if (self.width > x_placement >= 0) and (
                     self.height > y_placement >= 0
                 ):  # ensure placement is within target bitmap
-
                     # get the palette index from the source bitmap
                     this_pixel_color = source_bitmap[
                         y1
index 316543d243ee9b90332a63863b1e82bbc4182053..41ff504058eda9746dd708946aea07cc7c742592 100644 (file)
@@ -399,7 +399,6 @@ class TileGrid:
 
     @bitmap.setter
     def bitmap(self, new_bitmap: Union[Bitmap, OnDiskBitmap, Shape]) -> None:
-
         if (
             not isinstance(new_bitmap, Bitmap)
             and not isinstance(new_bitmap, OnDiskBitmap)
index 0324ea8bcfa01a8058a09e5d42b70e383926eb3f..c42ccf2b705f4852340a897793e2d82aa3366699 100644 (file)
@@ -4,6 +4,5 @@
 
 Adafruit-Blinka>=7.0.0
 adafruit-circuitpython-typing
-pillow
-pillow>=6.0.0; python_version>'3.9'
+pillow>=9.2.0
 numpy
index 2e48252ed3cddfd794272be564ba3d1d8224c3e7..0f5285713619be08abafe6e28bb14771a2799700 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,7 @@ requirements = [
 ]
 
 if sys.version_info > (3, 9):
-    requirements.append("pillow>=6.0.0")
+    requirements.append("pillow>=9.2.0")
 
 # Get the long description from the README file
 with open(path.join(here, "README.rst"), encoding="utf-8") as f: