diff --git a/pyproject.toml b/pyproject.toml index 09fab4e..ac01f03 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -146,6 +146,9 @@ ignore = [ "N802", "PD", "RET505", "RET506", "RET507", + # flake8-todo (TD) + "TD002", # Missing author in TODO + "TD003", # Missing issue link on the line following this TODO ] [tool.ruff.per-file-ignores] diff --git a/tests/classy/test_components.py b/tests/classy/test_components.py index 1d0f3d4..529bbc9 100644 --- a/tests/classy/test_components.py +++ b/tests/classy/test_components.py @@ -116,7 +116,7 @@ def test_wrapper_is_compliant(self, wrapper): if hasattr(super(), "test_wrapper_is_compliant"): super().test_wrapper_is_compliant(wrapper) - # FIXME: this should be an instance + # TODO: this should be an instance with pytest.raises(NotImplementedError): assert isinstance(wrapper, NeutrinoComponent) @@ -172,7 +172,7 @@ def test_wrapper_is_compliant(self, wrapper): if hasattr(super(), "test_wrapper_is_compliant"): super().test_wrapper_is_compliant(wrapper) - # FIXME: should be a DarkMatterComponent instance + # TODO: should be a DarkMatterComponent instance assert isinstance(wrapper, DarkMatterComponent) def test_Omega_dm0(self, wrapper, cosmo): diff --git a/tests/classy/test_standard.py b/tests/classy/test_standard.py index 96a9482..6b49c84 100644 --- a/tests/classy/test_standard.py +++ b/tests/classy/test_standard.py @@ -64,10 +64,10 @@ def test_wrapper_is_compliant(self, wrapper): """Test that StandardCosmologyWrapper is a StandardCosmologyWrapper.""" super().test_wrapper_is_compliant(wrapper) - # FIXME: it should be an instance + # TODO: it should be an instance with pytest.raises(NotImplementedError): assert isinstance(wrapper, StandardCosmology) - # FIXME: it should be an instance + # TODO: it should be an instance with pytest.raises(NotImplementedError): assert isinstance(wrapper, StandardCosmologyWrapperAPI)