From 05ba860494406f4f1fea70123cfc9e209eff7c1e Mon Sep 17 00:00:00 2001 From: Martin Yeo Date: Thu, 26 Sep 2024 14:34:04 +0100 Subject: [PATCH] Ruff compliance. --- cf_units/tests/integration/parse/test_graph.py | 1 + cf_units/tests/integration/parse/test_parse.py | 1 + cf_units/tests/test_tex.py | 1 + 3 files changed, 3 insertions(+) diff --git a/cf_units/tests/integration/parse/test_graph.py b/cf_units/tests/integration/parse/test_graph.py index 9743b8a0..fb1ad67f 100644 --- a/cf_units/tests/integration/parse/test_graph.py +++ b/cf_units/tests/integration/parse/test_graph.py @@ -2,6 +2,7 @@ # # This file is part of cf-units and is released under the BSD license. # See LICENSE in the root of the repository for full licensing details. +# ruff: noqa: E402 import pytest antlr4 = pytest.importorskip("antlr4") diff --git a/cf_units/tests/integration/parse/test_parse.py b/cf_units/tests/integration/parse/test_parse.py index b76fadbf..5e91fd5b 100644 --- a/cf_units/tests/integration/parse/test_parse.py +++ b/cf_units/tests/integration/parse/test_parse.py @@ -2,6 +2,7 @@ # # This file is part of cf-units and is released under the BSD license. # See LICENSE in the root of the repository for full licensing details. +# ruff: noqa: E402 import pytest antlr4 = pytest.importorskip("antlr4") diff --git a/cf_units/tests/test_tex.py b/cf_units/tests/test_tex.py index 966c887a..ffb91b6e 100644 --- a/cf_units/tests/test_tex.py +++ b/cf_units/tests/test_tex.py @@ -2,6 +2,7 @@ # # This file is part of cf-units and is released under the BSD license. # See LICENSE in the root of the repository for full licensing details. +# ruff: noqa: E402 import pytest antlr4 = pytest.importorskip("antlr4")