diff --git a/pyproject.toml b/pyproject.toml index a55539b7..17c0ccd3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -174,7 +174,6 @@ ignore = [ ################################################################################################## "B008", # Do not perform function call `typer.Option` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable "B904", # Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling - "C408", # Unnecessary `dict` call (rewrite as a literal) "FURB110", # Replace ternary `if` expression with `or` operator "FURB113", # Use `lines.extend((" " * self.indentation + "}", "}"))` instead of repeatedly calling `lines.append()` "FURB177", # Prefer `Path.cwd()` over `Path().resolve()` for current-directory lookups diff --git a/tests/unit/sdk/test_topological_sort.py b/tests/unit/sdk/test_topological_sort.py index 3e93fa3e..31c3695c 100644 --- a/tests/unit/sdk/test_topological_sort.py +++ b/tests/unit/sdk/test_topological_sort.py @@ -4,7 +4,7 @@ def test_topological_sort_empty(): - assert topological_sort(dict()) == [] + assert topological_sort({}) == [] def test_topological_sort_with_cycle_raises_error():