Skip to content

Commit eb940bc

Browse files
authored
refactor: clean up helmut after initial refactoring (#544)
* refactor: remove redundant Logging class from helmut library It creates unnecessary complexity by adding this Logging class to every class that wants to implement logging. * refactor: get rid of metaclasses and abstract methods/properties * refactor: remove helmut.manager.object and helmut.manager.jobs.job * refactor: remove helmut.manager * refactor: remove helmut.misc.collection * refactor: remove helmut.manager.jobs.Jobs * refactor: remove helmut.exceptions.UnsupportedConnectorError * refactor: remove contype variable * refactor: remove helmut.connector.base * refactor: remove helmut.splunk.base * refactor: remove deprecated username, password and args params * style: run pre-commit * refactor: remove deprecated namespace option from helmut.connector.sdk * refactor: SDKConnector sharing default value
1 parent d17c293 commit eb940bc

File tree

22 files changed

+415
-1110
lines changed

22 files changed

+415
-1110
lines changed

pytest_splunk_addon/helmut/__init__.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
"""
17-
@author: Nicklas Ansman-Giertz
18-
19-
@since: 2011-11-23
20-
"""
21-
from . import log
16+
from pytest_splunk_addon.helmut import log
2217

2318
log.setup_logger(debug=True)

pytest_splunk_addon/helmut/connector/__init__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
"""
17-
Module for handling generic connections with a Splunk instance.
18-
19-
@author: Nicklas Ansman-Giertz
20-
21-
@since: 2011-11-21
22-
"""
23-
2416
__all__ = ["sdk"]
2517

2618
from .sdk import SDKConnector

pytest_splunk_addon/helmut/connector/base.py

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

0 commit comments

Comments
 (0)