mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Formatting
This commit is contained in:
2
Rakefile
2
Rakefile
@@ -117,6 +117,7 @@ namespace :benchmark do
|
|||||||
compare_classifications = JSON.parse(File.read(compare_classifications_file))
|
compare_classifications = JSON.parse(File.read(compare_classifications_file))
|
||||||
|
|
||||||
# Check if samples don't match current classification
|
# Check if samples don't match current classification
|
||||||
|
puts ""
|
||||||
puts "Potential misclassifications for #{reference}"
|
puts "Potential misclassifications for #{reference}"
|
||||||
reference_classifications.each do |lang, files|
|
reference_classifications.each do |lang, files|
|
||||||
language_name = lang.split('/').last
|
language_name = lang.split('/').last
|
||||||
@@ -130,6 +131,7 @@ namespace :benchmark do
|
|||||||
|
|
||||||
# Check if samples don't match current classification
|
# Check if samples don't match current classification
|
||||||
# TODO DRY this up.
|
# TODO DRY this up.
|
||||||
|
puts ""
|
||||||
puts "Potential misclassifications for #{compare}"
|
puts "Potential misclassifications for #{compare}"
|
||||||
compare_classifications.each do |lang, files|
|
compare_classifications.each do |lang, files|
|
||||||
language_name = lang.split('/').last
|
language_name = lang.split('/').last
|
||||||
|
|||||||
Reference in New Issue
Block a user