Skip to content

Commit e947cb2

Browse files
authored
refactor: clean up helmut library (#523)
* refactor: remove Python 2 related imports * refactor: remove helmut.util.ymlparser as not used * refactor: remove helmut.util.alerthelper as not used * refactor: remove helmut.util.action_writer as not used * refactor: remove helmut.connector.httplib2_handler as not used * refactor: clean up unused exceptions in helmut.exceptions * refactor: remove REST implementation for helmut * refactor: remove helmut.manager.users and roles as not used * refactor: clean up unused imports * refactor: remove unused exceptions * refactor: clean up SearchUtil * refactor: remove helmut.manager.indexes as not used * refactor: remove helmut.manager.saved_seaches as not used * refactor: remove helmut.app as not used * refactor: remove helmut.manager.confs as not used * refactor: small cleanup
1 parent 5610e9a commit e947cb2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+49
-8606
lines changed

poetry.lock

Lines changed: 47 additions & 65 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ classifiers = [
3232
include = ["pytest_splunk_addon/**/*.json", "pytest_splunk_addon/**/*.txt"]
3333

3434
[tool.poetry.dependencies]
35-
httplib2 = "*"
3635
python = "^3.7"
3736
pytest = ">5.4.0,<6.3"
3837
splunk-sdk = "^1.6"

pytest_splunk_addon/helmut/app/__init__.py

Lines changed: 0 additions & 214 deletions
This file was deleted.

pytest_splunk_addon/helmut/connector/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
@since: 2011-11-21
2222
"""
2323

24-
__all__ = ["sdk", "rest"]
24+
__all__ = ["sdk"]
2525

26-
from .rest import RESTConnector
2726
from .sdk import SDKConnector

pytest_splunk_addon/helmut/connector/base.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
"""
2323

2424
from abc import ABCMeta
25-
from builtins import range
26-
from builtins import str
2725

2826
from future.utils import with_metaclass
2927

pytest_splunk_addon/helmut/connector/httplib2_handler.py

Lines changed: 0 additions & 82 deletions
This file was deleted.

0 commit comments

Comments
 (0)