diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2024-04-22 16:46:35 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2024-04-22 16:46:35 -0400 |
commit | 7a4aea62d21f7be2edadf54116f3d8fe62bcaeba (patch) | |
tree | f607fda0a066d72ae8b93d56cf3869c88062a425 | |
parent | bb79b6cbbad3d0bc190a13df6725573221c51deb (diff) | |
download | b4-7a4aea62d21f7be2edadf54116f3d8fe62bcaeba.tar.gz |
Allow defining checks commands via .b4-config
We want to be able for projects to define their own default checks to
run using the .b4-config file.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r-- | src/b4/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/b4/__init__.py b/src/b4/__init__.py index 991b68c..addc5e8 100644 --- a/src/b4/__init__.py +++ b/src/b4/__init__.py @@ -2863,7 +2863,7 @@ def _setup_main_config(cmdargs: Optional[argparse.Namespace] = None) -> None: # some options can be provided via the toplevel .b4-config file, # so load them up and use as defaults topdir = git_get_toplevel() - wtglobs = ['send-*', '*mask', '*template*', 'trailer*', 'pw-*'] + wtglobs = ['send-*', '*-check-cmd', '*-checks', '*mask', '*template*', 'trailer*', 'pw-*'] if topdir: wtcfg = os.path.join(topdir, '.b4-config') if os.access(wtcfg, os.R_OK): |