diff --git a/python/lib/dependabot/python/file_fetcher.rb b/python/lib/dependabot/python/file_fetcher.rb index 14f93c4d9ec..745841a66f6 100644 --- a/python/lib/dependabot/python/file_fetcher.rb +++ b/python/lib/dependabot/python/file_fetcher.rb @@ -169,7 +169,7 @@ def req_txt_and_in_files repo_contents. select { |f| f.type == "file" }. select { |f| f.name.end_with?(".txt", ".in") }. - reject { |f| f.size > 200_000 }. + reject { |f| f.size > 500_000 }. map { |f| fetch_file_from_host(f.name) }. select { |f| requirements_file?(f) }. each { |f| @req_txt_and_in_files << f } @@ -189,7 +189,7 @@ def req_files_for_dir(requirements_dir) repo_contents(dir: relative_reqs_dir). select { |f| f.type == "file" }. select { |f| f.name.end_with?(".txt", ".in") }. - reject { |f| f.size > 200_000 }. + reject { |f| f.size > 500_000 }. map { |f| fetch_file_from_host("#{relative_reqs_dir}/#{f.name}") }. select { |f| requirements_file?(f) } end