Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/_pytask/collect_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 4 additions & 2 deletions tests/test_mark.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading