From 1a561a0ed120f66a75c17e9edc115f85fda77b08 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 10 Sep 2024 14:58:24 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- flexiblepricing/api_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flexiblepricing/api_test.py b/flexiblepricing/api_test.py index 22f70a6432..8759dd3c3f 100644 --- a/flexiblepricing/api_test.py +++ b/flexiblepricing/api_test.py @@ -61,7 +61,7 @@ def test_parse_country_income_thresholds_no_header(tmp_path): """parse_country_income_thresholds should throw error if no header is found""" path = tmp_path / "test.csv" - with open(path, "w"): # create a file # noqa: SIM115, PTH123 + with open(path, "w"): # create a file # noqa: PTH123 with pytest.raises(CountryIncomeThresholdException) as exc: parse_country_income_thresholds(path)