mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
Replace bandit, flake8, isort, and pyupgrade with ruff (#8178)
* Replace bandit, flake8, isort, and pyupgrade with ruff * Comment on ruff rules * updating DIRECTORY.md --------- Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -104,7 +104,7 @@ class FileMerger:
|
||||
files = {}
|
||||
|
||||
for i in range(len(filenames)):
|
||||
files[i] = open(filenames[i], "r", buffer_size)
|
||||
files[i] = open(filenames[i], "r", buffer_size) # noqa: UP015
|
||||
|
||||
return files
|
||||
|
||||
|
Reference in New Issue
Block a user