Skip to content

Commit

Permalink
pre-commit run -a
Browse files Browse the repository at this point in the history
  • Loading branch information
lowell80 committed Sep 22, 2023
1 parent 0d2e9b8 commit 9f34a85
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions bin.d/60-legacy/jpath.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from jmespath.exceptions import ParseError, JMESPathError, UnknownFunctionError
from jmespath import functions
import jmespath
from jmespath import functions
from jmespath.exceptions import JMESPathError, ParseError, UnknownFunctionError

__version__ = "1.9.7"

Expand All @@ -10,7 +10,6 @@

import splunk.Intersplunk as si


ERROR_FIELD = "_jmespath_error"


Expand Down
6 changes: 3 additions & 3 deletions bin.d/60-legacy/jsonformat.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@

__version__ = "1.9.7"

import os
import ast
import sys
import json
import os
import sys
from functools import partial

sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "lib")) # nopep8

from splunklib.searchcommands import dispatch, StreamingCommand, Configuration, Option, validators
from splunklib.searchcommands import Configuration, Option, StreamingCommand, dispatch, validators


def from_python(s):
Expand Down

0 comments on commit 9f34a85

Please sign in to comment.