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)
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
@bitmap.setter
def bitmap(self, new_bitmap: Union[Bitmap, OnDiskBitmap, Shape]) -> None:
-
if (
not isinstance(new_bitmap, Bitmap)
and not isinstance(new_bitmap, OnDiskBitmap)
Adafruit-Blinka>=7.0.0
adafruit-circuitpython-typing
-pillow
-pillow>=6.0.0; python_version>'3.9'
+pillow>=9.2.0
numpy
]
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: