Skip to content

Commit a5c156c

Browse files
committed
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.
1 parent a63c472 commit a5c156c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

identify/extensions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
'bash': {'text', 'shell', 'bash'},
1111
'bat': {'text', 'batch'},
1212
'bats': {'text', 'shell', 'bash', 'bats'},
13+
'bazel': {'text', 'bazel'},
1314
'beancount': {'text', 'beancount'},
1415
'bib': {'text', 'bib'},
1516
'bmp': {'binary', 'image', 'bitmap'},
@@ -326,7 +327,6 @@
326327
'.zshenv': EXTENSIONS['zsh'],
327328
'AUTHORS': EXTENSIONS['txt'],
328329
'BUILD': EXTENSIONS['bzl'],
329-
'BUILD.bazel': EXTENSIONS['bzl'],
330330
'CMakeLists.txt': EXTENSIONS['cmake'],
331331
'CHANGELOG': EXTENSIONS['txt'],
332332
'config.ru': EXTENSIONS['rb'],

0 commit comments

Comments
 (0)