From 0c436f97b0637c535935b2e951cf5310fdee33ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Sun, 15 Feb 2026 18:48:10 +0100 Subject: [PATCH 01/10] chore: Make codecov not comment --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 2cbbebd4..91a66a95 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -165,3 +165,6 @@ quote-style = "double" [tool.ty.src] include = ["src", "tests"] exclude = ["src/torchjd/aggregation/_nash_mtl.py"] + +[tool.coverage] +comment = false From 27d4a2ed394a35908a9f1e7a58b3c8d2b7252424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Sun, 15 Feb 2026 18:50:14 +0100 Subject: [PATCH 02/10] Try --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 91a66a95..c4f3581c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -166,5 +166,5 @@ quote-style = "double" include = ["src", "tests"] exclude = ["src/torchjd/aggregation/_nash_mtl.py"] -[tool.coverage] +[tool.coverage.run] comment = false From 1ada3d52741a459f4c1ea31f767dff55e9752085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Sun, 15 Feb 2026 18:51:24 +0100 Subject: [PATCH 03/10] Try --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c4f3581c..648f2220 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -166,5 +166,5 @@ quote-style = "double" include = ["src", "tests"] exclude = ["src/torchjd/aggregation/_nash_mtl.py"] -[tool.coverage.run] +[tool.coverage.report] comment = false From e9ac6b3f56cadc08067db2d336a271181d562e59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Sun, 15 Feb 2026 18:52:11 +0100 Subject: [PATCH 04/10] Try --- pyproject.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 648f2220..1d06e5ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -121,6 +121,7 @@ exclude_lines = [ "pragma: not covered", "@overload", ] +comment = false [tool.ruff] line-length = 100 @@ -165,6 +166,3 @@ quote-style = "double" [tool.ty.src] include = ["src", "tests"] exclude = ["src/torchjd/aggregation/_nash_mtl.py"] - -[tool.coverage.report] -comment = false From b1fcf4806392d7d58dc1746fac47c1ceead3759a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Sun, 15 Feb 2026 18:53:10 +0100 Subject: [PATCH 05/10] Try --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1d06e5ac..21cb7551 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -116,12 +116,14 @@ full = [ [tool.pytest.ini_options] xfail_strict = true +[tool.coverage] +comment = false + [tool.coverage.report] exclude_lines = [ "pragma: not covered", "@overload", ] -comment = false [tool.ruff] line-length = 100 From c493b721e32b628f70fdb8f87951efdac5df3918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Sun, 15 Feb 2026 18:56:30 +0100 Subject: [PATCH 06/10] Try --- codecov.yml | 1 + pyproject.toml | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..8a3de25a --- /dev/null +++ b/codecov.yml @@ -0,0 +1 @@ +comment = false diff --git a/pyproject.toml b/pyproject.toml index 21cb7551..2cbbebd4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -116,9 +116,6 @@ full = [ [tool.pytest.ini_options] xfail_strict = true -[tool.coverage] -comment = false - [tool.coverage.report] exclude_lines = [ "pragma: not covered", From 426857f04d5c8d319cdae5daad7f6f4b3e818f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Sun, 15 Feb 2026 18:59:55 +0100 Subject: [PATCH 07/10] fix --- codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codecov.yml b/codecov.yml index 8a3de25a..69cb7601 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1 +1 @@ -comment = false +comment: false From 726348496ad2ea292775e7d2d48d73b4ea1379e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Sun, 15 Feb 2026 19:11:00 +0100 Subject: [PATCH 08/10] Add github_checks.annotations=True --- codecov.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codecov.yml b/codecov.yml index 69cb7601..3b718ec3 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1 +1,3 @@ comment: false +github_checks: + annotations: true From 8df705bb2b40305912df7006f7860d26b57233a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Sun, 15 Feb 2026 19:12:17 +0100 Subject: [PATCH 09/10] Add untested function --- src/torchjd/autogram/_gramian_utils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/torchjd/autogram/_gramian_utils.py b/src/torchjd/autogram/_gramian_utils.py index 12c2bfe2..194bb3a0 100644 --- a/src/torchjd/autogram/_gramian_utils.py +++ b/src/torchjd/autogram/_gramian_utils.py @@ -6,6 +6,10 @@ from torchjd._linalg import PSDMatrix, PSDTensor +def untested_function() -> None: + print("hello world") + + def flatten(gramian: PSDTensor) -> PSDMatrix: """ Flattens a generalized Gramian into a square matrix. The first half of the dimensions are From 4a5044c6ff70704b61472cc476a71e36e1af93c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Sun, 15 Feb 2026 19:27:11 +0100 Subject: [PATCH 10/10] Remove untested --- src/torchjd/autogram/_gramian_utils.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/torchjd/autogram/_gramian_utils.py b/src/torchjd/autogram/_gramian_utils.py index 194bb3a0..12c2bfe2 100644 --- a/src/torchjd/autogram/_gramian_utils.py +++ b/src/torchjd/autogram/_gramian_utils.py @@ -6,10 +6,6 @@ from torchjd._linalg import PSDMatrix, PSDTensor -def untested_function() -> None: - print("hello world") - - def flatten(gramian: PSDTensor) -> PSDMatrix: """ Flattens a generalized Gramian into a square matrix. The first half of the dimensions are