diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b0a9ab4..2ab3cb5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: hooks: - id: isort - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.9.0 + rev: 25.11.0 hooks: - id: black - repo: https://github.com/codespell-project/codespell diff --git a/docs/source/conf.py b/docs/source/conf.py index 8bbc84e..259cd2d 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -82,6 +82,7 @@ # autodoc settings autodoc_typehints = "signature" autodoc_default_options = {"members": True, "show-inheritance": True} +autodoc_use_legacy_class_based = True intersphinx_mapping = { "python": ("https://docs.python.org/3", None), diff --git a/tests/test_task.py b/tests/test_task.py index 75df558..f81d081 100644 --- a/tests/test_task.py +++ b/tests/test_task.py @@ -273,7 +273,6 @@ def test_optional_list_param(self, tmp_path): class TestCopyParamsWithGlobals: """Test the `luigi_tools.task.copy_params` decorator with global parameters.""" - @pytest.mark.filterwarnings("ignore::UserWarning:luigi.parameter") @pytest.fixture def TaskA(self): """A simple test task."""