Skip to content

Commit

Permalink
cleanup: do not unncecessarily configure logger
Browse files Browse the repository at this point in the history
Configuring `logging` gear should be to leaf components. This does not
apply to either ccc or model packages, hence drop corresponding calls.
  • Loading branch information
ccwienk committed Jan 8, 2025
1 parent 6d1cfd9 commit 4349406
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion ccc/delivery.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import delivery.client
import model.base

ci.log.configure_default_logging()
logger = logging.getLogger(__name__)


Expand Down
2 changes: 0 additions & 2 deletions model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import github3.exceptions
import yaml

import ci.log
import ctx

import model.base
Expand All @@ -35,7 +34,6 @@
empty_list = dataclasses.field(default_factory=list) # noqa:E3701
empty_tuple = dataclasses.field(default_factory=tuple) # noqa:E3701

ci.log.configure_default_logging()
logger = logging.getLogger(__name__)

'''
Expand Down

0 comments on commit 4349406

Please sign in to comment.