From 3ede441c9ac3bf0cd912e86c075b71acede26fa1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 21:11:16 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- colour_visuals/grid.py | 4 +++- colour_visuals/rgb_scatter.py | 2 +- tasks.py | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/colour_visuals/grid.py b/colour_visuals/grid.py index 007d2b2..1606bbd 100644 --- a/colour_visuals/grid.py +++ b/colour_visuals/grid.py @@ -207,7 +207,9 @@ def __init__( scene = Scene() - scene.add(Background(None, BackgroundMaterial(np.array([0.18, 0.18, 0.18])))) + scene.add( + Background(None, BackgroundMaterial(np.array([0.18, 0.18, 0.18]))) + ) visual_1 = VisualGrid() scene.add(visual_1) diff --git a/colour_visuals/rgb_scatter.py b/colour_visuals/rgb_scatter.py index 45ce820..89871a9 100644 --- a/colour_visuals/rgb_scatter.py +++ b/colour_visuals/rgb_scatter.py @@ -79,7 +79,7 @@ def __init__( append_alpha_channel(colors, opacity) ), ), - gfx.PointsMaterial(color_mode="vertex", vertex_sizes=True) + gfx.PointsMaterial(color_mode="vertex", vertex_sizes=True), ) diff --git a/tasks.py b/tasks.py index d06e26e..c81f5f4 100644 --- a/tasks.py +++ b/tasks.py @@ -128,6 +128,7 @@ def formatting( with ctx.cd("utilities"): ctx.run("./unicode_to_ascii.py") + @task def quality( ctx: Context,