Skip to content

Commit 096955b

Browse files
Apply ruff/flake8-comprehensions rule C413
C413 Unnecessary `list` call around `sorted()`
1 parent 63dfb5f commit 096955b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools/tests/test_glob.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@
4242
def test_glob(monkeypatch, tmpdir, tree, pattern, matches):
4343
monkeypatch.chdir(tmpdir)
4444
path.build({name: '' for name in tree.split()})
45-
assert list(sorted(glob(pattern))) == list(sorted(matches))
45+
assert sorted(glob(pattern)) == sorted(matches)

0 commit comments

Comments
 (0)