From 5dc0ce1edee8642893a8bf272c738c3d45c62153 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 11 Oct 2022 06:44:02 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/python/test_kernel_arg_errors.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/python/test_kernel_arg_errors.py b/tests/python/test_kernel_arg_errors.py index 803a266def848..23a495a371d04 100644 --- a/tests/python/test_kernel_arg_errors.py +++ b/tests/python/test_kernel_arg_errors.py @@ -1,6 +1,7 @@ -import pytest import platform +import pytest + import taichi as ti from tests import test_utils @@ -21,7 +22,8 @@ def foo(a: ti.i32): @test_utils.test(exclude=[ti.metal]) def test_pass_u64(): - if ti.lang.impl.current_cfg().arch == ti.vulkan and platform.system() == "Darwin": + if ti.lang.impl.current_cfg().arch == ti.vulkan and platform.system( + ) == "Darwin": return @ti.kernel