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: add typing to tests/models #1744

Merged
merged 8 commits into from
Nov 28, 2024

Conversation

vectorvp
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Nov 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.22%. Comparing base (6957178) to head (3cad3a2).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1744   +/-   ##
=======================================
  Coverage   85.22%   85.22%           
=======================================
  Files         162      162           
  Lines        6729     6729           
=======================================
  Hits         5735     5735           
  Misses        994      994           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vectorvp
Copy link
Contributor Author

vectorvp commented Nov 27, 2024

@guarin, please take a look. I have added also typing for all 3 files in tests/models. Here are failing tests which also does not reproduce locally.

@vectorvp vectorvp changed the title docs: move deprecated models tests to bottom refactor: add typing to tests/models Nov 27, 2024
Copy link
Contributor

@guarin guarin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, thanks for the PR! I left a comment on how to fix the failing tests.

tests/models/modules/test_masked_autoencoder.py Outdated Show resolved Hide resolved
Copy link
Contributor

@guarin guarin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@guarin guarin enabled auto-merge (squash) November 28, 2024 08:13
@guarin guarin disabled auto-merge November 28, 2024 08:13
@guarin guarin enabled auto-merge (squash) November 28, 2024 08:13
@guarin guarin merged commit 369af83 into lightly-ai:master Nov 28, 2024
14 checks passed
@vectorvp vectorvp deleted the issue-1635-add-typing branch November 29, 2024 04:18
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.

3 participants