From 420237c8f14523bae25df28cdd29812510a050cd Mon Sep 17 00:00:00 2001 From: michelletran-codecov <167130096+michelletran-codecov@users.noreply.github.com> Date: Thu, 23 May 2024 14:04:20 -0400 Subject: [PATCH] Increase the number of decimal places for the AbstractLevelTotals (#458) --- database/models/reports.py | 2 +- requirements.in | 2 +- requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/database/models/reports.py b/database/models/reports.py index 809d4465a..4181a8909 100644 --- a/database/models/reports.py +++ b/database/models/reports.py @@ -190,7 +190,7 @@ def _should_write_to_storage(self) -> bool: class AbstractTotals(MixinBaseClass): branches = Column(types.Integer) - coverage = Column(types.Numeric(precision=7, scale=2)) + coverage = Column(types.Numeric(precision=8, scale=5)) hits = Column(types.Integer) lines = Column(types.Integer) methods = Column(types.Integer) diff --git a/requirements.in b/requirements.in index ee0af17b3..b7217e190 100644 --- a/requirements.in +++ b/requirements.in @@ -1,4 +1,4 @@ -https://github.com/codecov/shared/archive/f6c2c3852530192ab0c6b9fd0c0a800c2cbdb16f.tar.gz#egg=shared +https://github.com/codecov/shared/archive/ae6e12f3cf43188a6d6fa0156ccb78252d3405a8.tar.gz#egg=shared https://github.com/codecov/opentelem-python/archive/refs/tags/v0.0.4a1.tar.gz#egg=codecovopentelem https://github.com/codecov/test-results-parser/archive/5515e960d5d38881036e9127f86320efca649f13.tar.gz#egg=test-results-parser boto3>=1.34 diff --git a/requirements.txt b/requirements.txt index f9c0a1de7..93fcbf2a9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -368,7 +368,7 @@ sentry-sdk==1.40.0 # via # -r requirements.in # shared -shared @ https://github.com/codecov/shared/archive/f6c2c3852530192ab0c6b9fd0c0a800c2cbdb16f.tar.gz +shared @ https://github.com/codecov/shared/archive/ae6e12f3cf43188a6d6fa0156ccb78252d3405a8.tar.gz # via -r requirements.in six==1.16.0 # via