lib/rouge/lexers/python.rb in rouge-3.14.0 vs lib/rouge/lexers/python.rb in rouge-3.15.0

- old
+ new

@@ -6,10 +6,11 @@ class Python < RegexLexer title "Python" desc "The Python programming language (python.org)" tag 'python' aliases 'py' - filenames '*.py', '*.pyw', '*.sc', 'SConstruct', 'SConscript', '*.tac' + filenames '*.py', '*.pyw', '*.sc', 'SConstruct', 'SConscript', '*.tac', + '*.bzl', 'BUCK', 'BUILD', 'BUILD.bazel', 'WORKSPACE' mimetypes 'text/x-python', 'application/x-python' def self.detect?(text) return true if text.shebang?(/pythonw?(?:[23](?:\.\d+)?)?/) end