Skip to content

Commit 5b60d7a

Browse files
Apply ruff/flake8-comprehensions rule C414
C414 Unnecessary `list` call within `sorted()`
1 parent 096955b commit 5b60d7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools/command/build_clib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def build_libraries(self, libraries) -> None:
3333
"'sources' must be present and must be "
3434
"a list of source filenames"
3535
)
36-
sources = sorted(list(sources))
36+
sources = sorted(sources)
3737

3838
log.info("building '%s' library", lib_name)
3939

0 commit comments

Comments
 (0)