We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b1ff73a + 0b29186 commit 1a7d17eCopy full SHA for 1a7d17e
tasks/steep.rake
@@ -64,6 +64,18 @@ namespace :steep do
64
$stdout.write('|')
65
$stdout.write("\n")
66
end
67
+
68
+ # Append ignored files from Steepfile to the end of the steep/typecheck summary
69
+ File
70
+ .foreach('Steepfile')
71
+ .with_object([]) { |line, ignored_files| line =~ /^\s*ignore\s+(["'])(.*?(?:\\?.)*?)\1/ && ignored_files << $2 }
72
+ .each do |file|
73
+ if File.exist?(file)
74
+ $stdout.write("|datadog|#{file}|ignored|N/A|N/A|N/A|0|\n")
75
+ else
76
+ warn "Ignored file '#{file}' does not exist. Please remove it from the Steepfile."
77
+ end
78
79
else
80
sh "steep stats --format=#{format}"
81
0 commit comments