Skip to content

Conversation

@pre-commit-ci
Copy link
Contributor

@pre-commit-ci pre-commit-ci bot commented Aug 25, 2025

@liblaf
Copy link
Contributor

liblaf bot commented Aug 25, 2025

⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Warnings Elapsed time
⚠️ COPYPASTE jscpd yes 23 no 3.54s
⚠️ JSON prettier 29 0 1 0 0.58s
✅ JSON v8r 29 0 0 8.04s
✅ PYTHON ruff yes yes no no 0.34s
✅ REPOSITORY git_diff yes no no 0.27s
✅ SPELL cspell 205 0 0 6.6s
✅ YAML prettier 4 0 0 0 0.73s
✅ YAML v8r 4 0 0 6.28s
✅ YAML yamllint 4 0 0 0.4s

Detailed Issues

⚠️ COPYPASTE / jscpd - 23 errors
Clone found (python):
 - src/liblaf/melon/io/paraview/series/_shared.py [6:1 - 18:2] (12 lines, 104 tokens)
   src/liblaf/melon/io/paraview/series/_writer.py [16:1 - 28:2]

Clone found (python):
 - exp/2025/04/30/human-head-anatomy/src/33-muscle-fraction.py [31:5 - 36:6] (5 lines, 81 tokens)
   exp/2025/04/30/human-head-anatomy/src/34-muscles.py [38:5 - 43:6]

Clone found (python):
 - exp/2025/04/30/human-head-anatomy/src/33-muscle-fraction.py [80:7 - 86:15] (6 lines, 82 tokens)
   exp/2025/04/30/human-head-anatomy/src/34-muscles.py [99:11 - 105:23]

Clone found (python):
 - exp/2025/04/30/human-head-anatomy/src/32-muscle-direction.py [13:30 - 21:14] (8 lines, 77 tokens)
   exp/2025/10/29/fiber-direction/src/10-holes.py [14:17 - 22:8]

Clone found (python):
 - exp/2025/04/30/human-head-anatomy/src/31-gen-masks.py [17:15 - 24:5] (7 lines, 76 tokens)
   exp/2025/10/29/fiber-direction/src/10-holes.py [14:17 - 22:8]

Clone found (python):
 - exp/2025/04/30/human-head-anatomy/src/20-muscle-fix.py [6:1 - 15:7] (9 lines, 82 tokens)
   exp/2025/04/30/human-head-anatomy/src/31-gen-masks.py [7:1 - 15:8]

Clone found (python):
 - exp/2025/04/30/human-head-anatomy/src/20-muscle-fix.py [15:17 - 22:5] (7 lines, 76 tokens)
   exp/2025/10/29/fiber-direction/src/10-holes.py [14:17 - 22:8]

Clone found (python):
 - exp/2025/04/30/human-head-anatomy/src/15-find-jaw-pivot.py [1:1 - 12:17] (11 lines, 88 tokens)
   exp/2025/10/29/fiber-direction/src/10-holes.py [1:1 - 12:17]

Clone found (python):
 - exp/2025/04/30/human-head-anatomy/src/14-register-cranium.py [18:7 - 34:2] (16 lines, 155 tokens)
   exp/2025/04/30/human-head-anatomy/src/14-register-mandible.py [19:5 - 35:2]

Clone found (python):
 - src/liblaf/melon/tri/_wrapping.py [24:5 - 31:5] (7 lines, 96 tokens)
   src/liblaf/melon/ext/wrap/_fast_wrapping.py [20:5 - 27:17]

Clone found (python):
 - src/liblaf/melon/transfer/_tri_point.py [61:1 - 74:2] (13 lines, 142 tokens)
   src/liblaf/melon/transfer/_tri_point_to_tet.py [36:1 - 49:2]

Clone found (python):
 - src/liblaf/melon/transfer/_tri_cell_to_point_category.py [18:36 - 27:7] (9 lines, 108 tokens)
   src/liblaf/melon/transfer/_tri_point.py [20:19 - 29:7]

Clone found (python):
 - src/liblaf/melon/transfer/_tri_cell_to_point_category.py [28:2 - 37:7] (9 lines, 136 tokens)
   src/liblaf/melon/transfer/_tri_point.py [29:7 - 38:7]

Clone found (python):
 - src/liblaf/melon/transfer/_tri_cell_to_point_category.py [56:10 - 65:2] (9 lines, 85 tokens)
   src/liblaf/melon/transfer/_tri_point_to_tet.py [40:11 - 49:2]

Clone found (python):
 - src/liblaf/melon/proximity/_nearest_point_on_surface.py [73:2 - 81:55] (8 lines, 168 tokens)
   src/liblaf/melon/proximity/_nearest_point_on_surface.py [48:7 - 55:33]

Clone found (python):
 - src/liblaf/melon/proximity/_nearest_point_on_surface.py [90:13 - 102:7] (12 lines, 87 tokens)
   src/liblaf/melon/proximity/_nearest_point_on_surface.py [57:7 - 68:4]

Clone found (python):
 - src/liblaf/melon/proximity/_nearest_point_on_surface.py [177:17 - 189:12] (12 lines, 146 tokens)
   src/liblaf/melon/proximity/_nearest_point_on_surface.py [146:19 - 158:8]

Clone found (python):
 - src/liblaf/melon/proximity/_nearest_point_on_surface.py [195:17 - 205:5] (10 lines, 140 tokens)
   src/liblaf/melon/proximity/_nearest_point_on_surface.py [157:7 - 169:4]

Clone found (python):
 - scripts/bench-contains.py [28:5 - 33:2] (5 lines, 76 tokens)
   src/liblaf/melon/tri/_contains.py [64:5 - 69:2]

Clone found (python):
 - scripts/bench-contains.py [54:5 - 63:2] (9 lines, 129 tokens)
   scripts/bench-on-surface.py [96:5 - 105:2]

Clone found (python):
 - scripts/bench-contains.py [63:2 - 74:5] (11 lines, 161 tokens)
   scripts/bench-on-surface.py [105:2 - 116:17]

Clone found (python):
 - scripts/bench-cell-neighbors.py [29:2 - 40:9] (11 lines, 156 tokens)
   tests/_src/graph/test_cell_neighbors.py [8:23 - 20:4]

Clone found (python):
 - scripts/bench-cell-neighbors.py [56:7 - 65:8] (9 lines, 136 tokens)
   src/liblaf/melon/_src/graph.py [25:7 - 35:11]

┌────────┬────────────────┬─────────────┬──────────────┬──────────────┬──────────────────┬───────────────────┐
│ Format │ Files analyzed │ Total lines │ Total tokens │ Clones found │ Duplicated lines │ Duplicated tokens │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ python │ 132            │ 4325        │ 44079        │ 23           │ 215 (4.97%)      │ 2587 (5.87%)      │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ bash   │ 9              │ 212         │ 1345         │ 0            │ 0 (0%)           │ 0 (0%)            │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ Total: │ 141            │ 4537        │ 45424        │ 23           │ 215 (4.74%)      │ 2587 (5.7%)       │
└────────┴────────────────┴─────────────┴──────────────┴──────────────┴──────────────────┴───────────────────┘
Found 23 clones.
HTML report saved to megalinter-reports/copy-paste/html/
ERROR: jscpd found too many duplicates (4.74%) over threshold (0%)
Error: ERROR: jscpd found too many duplicates (4.74%) over threshold (0%)
    at ThresholdReporter.report (/node-deps/node_modules/@jscpd/finder/dist/index.js:612:13)
    at /node-deps/node_modules/@jscpd/finder/dist/index.js:110:18
    at Array.forEach (<anonymous>)
    at /node-deps/node_modules/@jscpd/finder/dist/index.js:109:22
    at async /node-deps/node_modules/jscpd/dist/jscpd.js:351:5
⚠️ JSON / prettier - 1 error
.config/linters/pyrightconfig.json 50ms (unchanged)
.config/release-please/config.json 15ms (unchanged)
.github/renovate.json 1ms (unchanged)
.vscode/settings.json 8ms (unchanged)
[error] exp/2025/04/30/human-head-anatomy/data/00-XYZ_ReadyToSculpt_eyesOpen_PolyGroups_GEO.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:74cac07560a0ac93e15b334d49841c637a59a44de0708f7aaf08cbcbf2e8f469
[error]   3 | size 719
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/00-sculptor-cranium.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:766aedc9c892ef6cc830caffe266bcd28fb8fd00d9a144533e2c4739bb266cbd
[error]   3 | size 429
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/00-sculptor-mandible.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:f1e16d8631ac4cc730978f0422778d005ce78102daf535fdfe7b745259b86e3a
[error]   3 | size 476
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/01-raw/XYZ_ReadyToSculpt_eyesOpen_PolyGroups_GEO.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:74cac07560a0ac93e15b334d49841c637a59a44de0708f7aaf08cbcbf2e8f469
[error]   3 | size 719
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/01-raw/sculptor/cranium.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:766aedc9c892ef6cc830caffe266bcd28fb8fd00d9a144533e2c4739bb266cbd
[error]   3 | size 429
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/01-raw/sculptor/face.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:e458b1bb67aa33ac9db931cb0d6d6d685429cfb7d46417c1b333af46924ad85f
[error]   3 | size 800
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/01-raw/sculptor/mandible.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:f1e16d8631ac4cc730978f0422778d005ce78102daf535fdfe7b745259b86e3a
[error]   3 | size 476
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/01-raw/sculptor/skull.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:4df392ea2d66a5057ceefc7b5191760f6791e48bcfda3b55a3138f91f26989ff
[error]   3 | size 1215
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/02-intermediate/11-skin.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:018f3bce8052b47b9a953ec89a9703fdd68c16454ba3e8bd849aab4eb9b6da6d
[error]   3 | size 719
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/02-intermediate/12-skin.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:018f3bce8052b47b9a953ec89a9703fdd68c16454ba3e8bd849aab4eb9b6da6d
[error]   3 | size 719
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/02-intermediate/13-cranium.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:45e42f3615dfd055ca57fd118c2c4b9a87dd20480fb79b8954b44feaf295cecb
[error]   3 | size 430
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/02-intermediate/13-mandible.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:2ad40f18b58f1870f85705d3583e7b09d182bc2a110884a40dee313da812285b
[error]   3 | size 474
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/02-intermediate/14-cranium.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:45e42f3615dfd055ca57fd118c2c4b9a87dd20480fb79b8954b44feaf295cecb
[error]   3 | size 430
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/02-intermediate/14-mandible.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:2ad40f18b58f1870f85705d3583e7b09d182bc2a110884a40dee313da812285b
[error]   3 | size 474
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/02-intermediate/skin-with-mouth-socket.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:5846defd42970713d2bcdd08b798fd2653346de4662129e1fffbe4521b41f1ad
[error]   3 | size 715
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/02-intermediate/skin.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:8a9430700a2b0e825304625d59107487f31f39c67421260dd9949f57b267ad3f
[error]   3 | size 804
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/11-skin.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:e936620a71ec8780c4d65bea3697c6f9c90acb4dc0dbe3c4fda50a45b5cab147
[error]   3 | size 870
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/12-skin.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:018f3bce8052b47b9a953ec89a9703fdd68c16454ba3e8bd849aab4eb9b6da6d
[error]   3 | size 719
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/13-cranium.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:45e42f3615dfd055ca57fd118c2c4b9a87dd20480fb79b8954b44feaf295cecb
[error]   3 | size 430
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/13-mandible.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:2ad40f18b58f1870f85705d3583e7b09d182bc2a110884a40dee313da812285b
[error]   3 | size 474
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/14-cranium.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:45e42f3615dfd055ca57fd118c2c4b9a87dd20480fb79b8954b44feaf295cecb
[error]   3 | size 430
[error]   4 |
[error] exp/2025/04/30/human-head-anatomy/data/14-mandible.landmarks.json: SyntaxError: The input should contain exactly one expression, but the first expression is followed by the unexpected character `h`. (1:9)
[error] > 1 | version https://git-lfs.github.com/spec/v1
[error]     |         ^
[error]   2 | oid sha256:2ad40f18b58f1870f85705d3583e7b09d182bc2a110884a40dee313da812285b
[error]   3 | size 474
[error]   4 |
pyrightconfig.json 1ms (unchanged)
tmp.6NE8UxMvCk/linters/pyrightconfig.json 2ms (unchanged)
tmp.6NE8UxMvCk/renovate-config.json 2ms (unchanged)

See detailed reports in MegaLinter artifacts

MegaLinter is graciously provided by OX Security

@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from f75169e to 7ae9fa0 Compare September 1, 2025 17:52
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 7ae9fa0 to 8de61b3 Compare September 8, 2025 17:56
@codecov
Copy link

codecov bot commented Sep 8, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 8de61b3 to 2f64f59 Compare September 15, 2025 17:57
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from add7063 to c066169 Compare September 29, 2025 17:50
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from d4ce0e0 to 6471ffe Compare October 6, 2025 18:19
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from d7eab69 to edd9aa3 Compare October 13, 2025 18:02
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 372f8ab to ac9016c Compare October 27, 2025 17:52
liblaf
liblaf previously approved these changes Nov 2, 2025
liblaf
liblaf previously approved these changes Nov 4, 2025
liblaf
liblaf previously approved these changes Nov 10, 2025
liblaf
liblaf previously approved these changes Nov 17, 2025
liblaf
liblaf previously approved these changes Nov 24, 2025
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.2 → v0.14.7](astral-sh/ruff-pre-commit@v0.14.2...v0.14.7)
- [github.com/biomejs/pre-commit: v2.3.1 → v2.3.8](biomejs/pre-commit@v2.3.1...v2.3.8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants