Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit ec31798

Browse files
committed
deps: update shared
1 parent 0aa256d commit ec31798

3 files changed

Lines changed: 4 additions & 7 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@ dev-dependencies = [
8383
[tool.uv.sources]
8484
timestring = { git = "https://github.com/codecov/timestring", rev = "d37ceacc5954dff3b5bd2f887936a98a668dda42" }
8585
test-results-parser = { git = "https://github.com/codecov/test-results-parser", rev = "190bbc8a911099749928e13d5fe57f6027ca1e74" }
86-
shared = { git = "https://github.com/codecov/shared", rev = "284b92c74f0bc7ca5c4f6f139f3b26fe64fe9c1a" }
86+
shared = { git = "https://github.com/codecov/shared", rev = "e30c1c7e3ff9c4527986d5bb67ae628dc1a18abb" }

services/test_analytics/utils.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44

55
def should_use_timeseries(repoid: int) -> bool:
66
timeseries_enabled = get_config("setup", "timeseries", "enabled", default=False)
7-
test_analytics_database_enabled = get_config(
8-
"setup", "test_analytics_database", "enabled", default=False
9-
)
10-
if timeseries_enabled and test_analytics_database_enabled:
7+
if timeseries_enabled:
118
return True
129
return False
1310

tasks/new_user_activated.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ def run_impl(self, db_session, org_ownerid, user_ownerid, *args, **kwargs):
7070
)
7171

7272
return {
73-
"notifies_scheduled": bool(len(pulls_notified)),
73+
"notifies_scheduled": bool(pulls_notified),
7474
"pulls_notified": pulls_notified,
7575
"reason": None
76-
if len(pulls_notified)
76+
if pulls_notified
7777
else "no pulls/pull notifications met criteria",
7878
}
7979

0 commit comments

Comments
 (0)