From a5c156cee819f337d0029af5cee89404a67cc8c4 Mon Sep 17 00:00:00 2001 From: Stephan Wolski Date: Wed, 16 Aug 2023 20:01:48 -0400 Subject: [PATCH] add '.bazel' to extension list Improve support for Bazel files by adding `.bazel` to the extension list to support files like `MODULE.bazel`, `WORKSPACE.bazel`, etc. --- identify/extensions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/identify/extensions.py b/identify/extensions.py index a9e0d6a..f826f0a 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -10,6 +10,7 @@ 'bash': {'text', 'shell', 'bash'}, 'bat': {'text', 'batch'}, 'bats': {'text', 'shell', 'bash', 'bats'}, + 'bazel': {'text', 'bazel'}, 'beancount': {'text', 'beancount'}, 'bib': {'text', 'bib'}, 'bmp': {'binary', 'image', 'bitmap'}, @@ -326,7 +327,6 @@ '.zshenv': EXTENSIONS['zsh'], 'AUTHORS': EXTENSIONS['txt'], 'BUILD': EXTENSIONS['bzl'], - 'BUILD.bazel': EXTENSIONS['bzl'], 'CMakeLists.txt': EXTENSIONS['cmake'], 'CHANGELOG': EXTENSIONS['txt'], 'config.ru': EXTENSIONS['rb'],