Skip to content

Commit

Permalink
Fix black and isort violations
Browse files Browse the repository at this point in the history
  • Loading branch information
kislyuk committed Aug 21, 2024
1 parent 2ef4bd6 commit fbe64ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion test/run_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import os
import sys


sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))

from watchtower import CloudWatchLogHandler # noqa: E402
Expand Down
4 changes: 1 addition & 3 deletions test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,10 +318,8 @@ def test_unicode_logging(self):
self.assertEqual(submit_batch.call_count, 2)

def test_log_group_tagging(self):

tags = {"tag1": "value1", "tag2": "value2"}
handler = CloudWatchLogHandler(log_group_name="test_log_group_tagging",
log_group_tags=tags)
handler = CloudWatchLogHandler(log_group_name="test_log_group_tagging", log_group_tags=tags)
logger = logging.getLogger("test_log_group_tagging")
logger.addHandler(handler)
logger.propagate = False
Expand Down

0 comments on commit fbe64ad

Please sign in to comment.