From 460732084ec65b402646bf404fae5db5e2e20c9d Mon Sep 17 00:00:00 2001 From: Nabil Freij Date: Fri, 6 Dec 2024 11:35:10 -0800 Subject: [PATCH] Update .ruff.toml --- .ruff.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.ruff.toml b/.ruff.toml index 04289a1ae..1c98a546d 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -40,6 +40,11 @@ extend-ignore = [ "NPY002", # TODO: migrate from np.random.rand to np.random.Generator # pytest (PT) "PT001", # Always use pytest.fixture() + # TODO FIX + "PT004", # Fixtures which don't return anything should have leading _ + "PT011", # TODO: except(ValueRaises) is too broad + "PT012", # TODO: except statement is too lengthy + # "PT023", # Always use () on pytest decorators # flake8-pie (PIE) "PIE808", # Disallow passing 0 as the first argument to range