Skip to content

Commit

Permalink
Run pre-commit after update
Browse files Browse the repository at this point in the history
  • Loading branch information
lkubb committed May 29, 2024
1 parent a024bfc commit d8fa34c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/saltext/pushover/modules/pushover_notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@
pushover:
token: abAHuZyCLtdH8P4zhmFZmgUHUsv1ei8
"""

import logging
import urllib.parse

import saltext.pushover.utils.pushover
from salt.exceptions import SaltInvocationError

import saltext.pushover.utils.pushover

log = logging.getLogger(__name__)
__virtualname__ = "pushover"

Expand Down
4 changes: 3 additions & 1 deletion src/saltext/pushover/returners/pushover_returner.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,16 @@
salt '*' test.ping --return pushover --return_kwargs '{"title": "Salt is awesome!"}'
"""

import logging
import pprint
import urllib.parse

import salt.returners
import saltext.pushover.utils.pushover
from salt.exceptions import SaltInvocationError

import saltext.pushover.utils.pushover

log = logging.getLogger(__name__)

__virtualname__ = "pushover"
Expand Down
1 change: 1 addition & 0 deletions src/saltext/pushover/utils/pushover.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.. versionadded:: 2016.3.0
"""

import http.client
import logging
from urllib.parse import urlencode
Expand Down
1 change: 1 addition & 0 deletions tests/unit/states/test_pushover.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from unittest.mock import patch

import pytest

import saltext.pushover.modules.pushover_notify as pushover_exemod
import saltext.pushover.states.pushover as po

Expand Down

0 comments on commit d8fa34c

Please sign in to comment.