Skip to content

Commit

Permalink
Apply ruff/Pylint rule PLC0208
Browse files Browse the repository at this point in the history
PLC0208 Use a sequence type instead of a `set` when iterating over values
  • Loading branch information
DimitriPapadopoulos committed Jan 15, 2025
1 parent 34b8386 commit 93c568d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_bdist_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def test_licenses_override(dummy_dist, monkeypatch, tmp_path, config_file, confi
)
with WheelFile("dist/dummy_dist-1.0-py2.py3-none-any.whl") as wf:
license_files = {
"dummy_dist-1.0.dist-info/" + fname for fname in {"DUMMYFILE", "LICENSE"}
"dummy_dist-1.0.dist-info/" + fname for fname in ("DUMMYFILE", "LICENSE")
}
assert set(wf.namelist()) == DEFAULT_FILES | license_files

Expand Down

0 comments on commit 93c568d

Please sign in to comment.