mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 09:21:13 +08:00
Enable ruff S113 rule (#11375)
* Enable ruff S113 rule * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@ -57,7 +57,7 @@ def added_solution_file_path() -> list[pathlib.Path]:
|
||||
"Accept": "application/vnd.github.v3+json",
|
||||
"Authorization": "token " + os.environ["GITHUB_TOKEN"],
|
||||
}
|
||||
files = requests.get(get_files_url(), headers=headers).json()
|
||||
files = requests.get(get_files_url(), headers=headers, timeout=10).json()
|
||||
for file in files:
|
||||
filepath = pathlib.Path.cwd().joinpath(file["filename"])
|
||||
if (
|
||||
|
Reference in New Issue
Block a user