diff --git a/pyproject.toml b/pyproject.toml index 03dd7ede..f353ea9c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -120,6 +120,7 @@ select = ["ALL"] ignore = [ "ANN401", # flake8-annotate typing.Any "COM812", # Comply with ruff-format. + "CPY001", # Missing copyright notice at top of file. "ISC001", # Comply with ruff-format. "FBT", "S101", # raise errors for asserts. diff --git a/src/_pytask/collect_utils.py b/src/_pytask/collect_utils.py index b850bf34..cd9f4c7b 100644 --- a/src/_pytask/collect_utils.py +++ b/src/_pytask/collect_utils.py @@ -246,7 +246,7 @@ def parse_products_from_task_function( return out -def _collect_nodes_and_provisional_nodes( # noqa: PLR0913 +def _collect_nodes_and_provisional_nodes( # noqa: PLR0913, PLR0917 collection_func: Callable[..., Any], session: Session, node_path: Path, diff --git a/tests/test_compat.py b/tests/test_compat.py index d418cfc5..dc9779a8 100644 --- a/tests/test_compat.py +++ b/tests/test_compat.py @@ -70,7 +70,7 @@ ), ], ) -def test_check_for_optional_program( # noqa: PLR0913 +def test_check_for_optional_program( # noqa: PLR0913, PLR0917 name, extra, errors, caller, expectation, expected ): with expectation: diff --git a/tests/test_mark.py b/tests/test_mark.py index 1fb7713e..18757b9f 100644 --- a/tests/test_mark.py +++ b/tests/test_mark.py @@ -191,8 +191,10 @@ def task_func(arg=arg): [ ( "foo or", - ("at column 7: expected not OR left parenthesis OR identifier; got end of " - "input"), + ( + "at column 7: expected not OR left parenthesis OR " + "identifier; got end of input" + ), ), ( "foo or or",