Skip to content

Commit aeefd9d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e630b05 commit aeefd9d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

jupyterhub_idle_culler/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -581,16 +581,16 @@ def _default_cull_every(self):
581581

582582
_log_formatter_cls = LogFormatter
583583

584-
@default('log_level')
584+
@default("log_level")
585585
def _log_level_default(self):
586586
return logging.INFO
587587

588-
@default('log_datefmt')
588+
@default("log_datefmt")
589589
def _log_datefmt_default(self):
590590
"""Exclude date from default date format"""
591591
return "%Y-%m-%d %H:%M:%S"
592592

593-
@default('log_format')
593+
@default("log_format")
594594
def _log_format_default(self):
595595
"""override default log format to include time"""
596596
return "%(color)s[%(levelname)1.1s %(asctime)s.%(msecs).03d %(name)s %(module)s:%(lineno)d]%(end_color)s %(message)s"

tests/test_idle_culler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from unittest import mock
55

66
from tornado.log import app_log
7+
78
from jupyterhub_idle_culler import utcnow
89

910

0 commit comments

Comments
 (0)