Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: replace dataclasses to attrs #27

Merged
merged 1 commit into from
Nov 16, 2024
Merged

refactor: replace dataclasses to attrs #27

merged 1 commit into from
Nov 16, 2024

Conversation

ktro2828
Copy link
Collaborator

@ktro2828 ktro2828 commented Nov 11, 2024

What

attrs official documentation: https://www.attrs.org/en/stable/index.html.

@github-actions github-actions bot added the refactor Refactoring code or increasing performance label Nov 11, 2024
@ktro2828 ktro2828 force-pushed the refactor/attrs branch 3 times, most recently from 0ea47a2 to 9f26281 Compare November 12, 2024 15:16
@ktro2828 ktro2828 force-pushed the refactor/attrs branch 2 times, most recently from c1cf21e to 064b47c Compare November 14, 2024 12:13
Copy link

☂️ Python Coverage

current status: ❌

Overall Coverage

Lines Covered Coverage Threshold Status
1945 1260 65% 50% 🟢

New Files

File Coverage Status
t4_devkit/common/converter.py 89% 🟢
TOTAL 89% 🟢

Modified Files

File Coverage Status
t4_devkit/dataclass/box.py 75% 🔴
t4_devkit/dataclass/label.py 100% 🟢
t4_devkit/dataclass/pointcloud.py 40% 🔴
t4_devkit/dataclass/roi.py 94% 🟢
t4_devkit/dataclass/shape.py 94% 🟢
t4_devkit/dataclass/trajectory.py 92% 🟢
t4_devkit/dataclass/transform.py 76% 🔴
t4_devkit/filtering/parameter.py 94% 🟢
t4_devkit/schema/serialize.py 48% 🔴
t4_devkit/schema/tables/attribute.py 100% 🟢
t4_devkit/schema/tables/base.py 95% 🟢
t4_devkit/schema/tables/calibrated_sensor.py 95% 🟢
t4_devkit/schema/tables/category.py 100% 🟢
t4_devkit/schema/tables/ego_pose.py 94% 🟢
t4_devkit/schema/tables/instance.py 100% 🟢
t4_devkit/schema/tables/keypoint.py 94% 🟢
t4_devkit/schema/tables/log.py 94% 🟢
t4_devkit/schema/tables/map.py 100% 🟢
t4_devkit/schema/tables/object_ann.py 80% 🔴
t4_devkit/schema/tables/registry.py 83% 🟢
t4_devkit/schema/tables/sample.py 95% 🟢
t4_devkit/schema/tables/sample_annotation.py 94% 🟢
t4_devkit/schema/tables/sample_data.py 95% 🟢
t4_devkit/schema/tables/scene.py 100% 🟢
t4_devkit/schema/tables/sensor.py 95% 🟢
t4_devkit/schema/tables/surface_ann.py 75% 🔴
t4_devkit/schema/tables/visibility.py 92% 🟢
TOTAL 89% 🔴

updated for commit: 52ad9b3 by action🐍

@ktro2828 ktro2828 marked this pull request as ready for review November 16, 2024 08:08
@ktro2828 ktro2828 merged commit 293e144 into main Nov 16, 2024
4 of 5 checks passed
@ktro2828 ktro2828 deleted the refactor/attrs branch November 16, 2024 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Refactoring code or increasing performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant