Skip to content

Commit f69db22

Browse files
stulle123jeffwidman
authored andcommitted
Update file size to 500 kilobytes
1 parent b0e1745 commit f69db22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/lib/dependabot/python/file_fetcher.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def req_txt_and_in_files
169169
repo_contents.
170170
select { |f| f.type == "file" }.
171171
select { |f| f.name.end_with?(".txt", ".in") }.
172-
reject { |f| f.size > 200_000 }.
172+
reject { |f| f.size > 500_000 }.
173173
map { |f| fetch_file_from_host(f.name) }.
174174
select { |f| requirements_file?(f) }.
175175
each { |f| @req_txt_and_in_files << f }
@@ -189,7 +189,7 @@ def req_files_for_dir(requirements_dir)
189189
repo_contents(dir: relative_reqs_dir).
190190
select { |f| f.type == "file" }.
191191
select { |f| f.name.end_with?(".txt", ".in") }.
192-
reject { |f| f.size > 200_000 }.
192+
reject { |f| f.size > 500_000 }.
193193
map { |f| fetch_file_from_host("#{relative_reqs_dir}/#{f.name}") }.
194194
select { |f| requirements_file?(f) }
195195
end

0 commit comments

Comments
 (0)