Skip to content

Commit

Permalink
Merge pull request #714 from VWS-Python/dependabot/pip/ruff-0.0.286
Browse files Browse the repository at this point in the history
Bump ruff from 0.0.285 to 0.0.286
  • Loading branch information
adamtheturtle authored Aug 28, 2023
2 parents d88fc6f + 2a50878 commit 52cc315
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ dev = [
"pyright==1.1.324",
"pyroma==4.2",
"pytest-cov==4.1.0",
"ruff==0.0.285",
"ruff==0.0.286",
"sphinx-autodoc-typehints==1.24.0",
"sphinx-autofixture==0.4.0",
"sphinx-prompt==1.5.0",
Expand Down
8 changes: 4 additions & 4 deletions src/vws_test_fixtures/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ def _make_image_file(
for row_index in range(height):
for column_index in range(width):
if color_space == "L":
grey = random.choice(seq=range(0, 255))
grey = random.choice(seq=range(255))
image.putpixel(xy=(column_index, row_index), value=grey)
else:
assert color_space in ("CMYK", "RGB")
red = random.choice(seq=range(0, 255))
green = random.choice(seq=range(0, 255))
blue = random.choice(seq=range(0, 255))
red = random.choice(seq=range(255))
green = random.choice(seq=range(255))
blue = random.choice(seq=range(255))
image.putpixel(
xy=(column_index, row_index),
value=(red, green, blue),
Expand Down

0 comments on commit 52cc315

Please sign in to comment.