Skip to content

Commit 5126963

Browse files
authored
Msg filter (#1144)
Message filter support for nebula_osquery
1 parent 20e2165 commit 5126963

25 files changed

+956
-385
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ var/
3232
.installed.cfg
3333
*.egg
3434

35+
# vim
36+
*.swp
37+
*.swo
38+
3539
# PyInstaller
3640
# Usually these files are written by a python script from a template
3741
# before PyInstaller builds the exe, so as to inject date/other infos into it.

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
- id: check-merge-conflict
1111
- id: check-ast
1212
- repo: https://github.com/psf/black
13-
rev: 22.3.0
13+
rev: 22.6.0
1414
hooks:
1515
- id: black
1616
args: ['--line-length', '119']

hubblestack/config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ def _validate_file_roots(file_roots):
11451145
"""
11461146
if not isinstance(file_roots, dict):
11471147
log.warning(
1148-
"The file_roots parameter is not properly formatted," " using defaults"
1148+
"The file_roots parameter is not properly formatted, using defaults"
11491149
)
11501150
return {"base": _expand_glob_path([hubblestack.syspaths.BASE_FILE_ROOTS_DIR])}
11511151
return _normalize_roots(file_roots)
@@ -1323,7 +1323,7 @@ def _absolute_path(path, relative_to=None):
13231323
_abspath = os.path.join(relative_to, path)
13241324
if os.path.isfile(_abspath):
13251325
log.debug(
1326-
"Relative path '%s' converted to existing absolute path " "'%s'",
1326+
"Relative path '%s' converted to existing absolute path '%s'",
13271327
path,
13281328
_abspath,
13291329
)

0 commit comments

Comments
 (0)