Skip to content

Commit

Permalink
Add unused-ignore to fix flaky mypy behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
maresb committed Nov 25, 2024
1 parent 0ce3728 commit 4f9e53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda_lock/virtual_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def to_repodata_entry(self) -> Tuple[str, Dict[str, Any]]:
class FakeRepoData(BaseModel):
base_path: pathlib.Path
packages_by_subdir: DefaultDict[FakePackage, Set[str]] = Field(
default_factory=lambda: defaultdict(set) # type: ignore[arg-type]
default_factory=lambda: defaultdict(set) # type: ignore[arg-type,unused-ignore]
)
all_subdirs: Set[str] = {
"noarch",
Expand Down

0 comments on commit 4f9e53b

Please sign in to comment.