Skip to content

add '.bazel' to extension list#407

Merged
asottile merged 1 commit intopre-commit:mainfrom
Slowki:steph/bazel-modules
Aug 21, 2023
Merged

add '.bazel' to extension list#407
asottile merged 1 commit intopre-commit:mainfrom
Slowki:steph/bazel-modules

Conversation

@Slowki
Copy link
Copy Markdown
Contributor

@Slowki Slowki commented Aug 17, 2023

Improve support for Bazel files by adding .bazel to the extension list for WORKSPACE.bazel and the new MODULE.bazel file. As a cleanup this also lets me take BUILD.bazel out of the filenames list.

Also it's reasonably common to use files names like BUILD.library_name_here.bazel (example here) - this also supports those files which is nice (related to #103 since that's an alternate naming convention for the same thing).

Improve support for Bazel files by adding `.bazel` to the extension list
to support files like `MODULE.bazel`, `WORKSPACE.bazel`, etc.
@asottile asottile merged commit 63d356f into pre-commit:main Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants