Skip to content

Conversation

@ishaanagw
Copy link
Contributor

No description provided.

@ishaanagw
Copy link
Contributor Author

Partially fixes - #1635

@codecov
Copy link

codecov bot commented Oct 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.75%. Comparing base (e3d8795) to head (e24f20b).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1667   +/-   ##
=======================================
  Coverage   84.74%   84.75%           
=======================================
  Files         153      153           
  Lines        6465     6467    +2     
=======================================
+ Hits         5479     5481    +2     
  Misses        986      986           

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

Copy link
Contributor

@MalteEbner MalteEbner left a comment

Choose a reason for hiding this comment

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

Great initiative, I love it :)

The type-checker found some additional typings to be made, see the GitHub action here.

To reproduce it locally for easy development, just run make type-check.
Alternatively, just run mypy lightly/cli/_helpers.py directly.

You might need to install mypy and some typing backages beforehand. For the packages and versions, see

lightly/pyproject.toml

Lines 85 to 87 in cb4f1f6

"mypy==1.4.1", # frozen version to avoid differences between CI and local dev machines
"types-python-dateutil",
"types-toml",

@ishaanagw
Copy link
Contributor Author

Working on the fix to the failed type checks.
Will be interesting to find out why mypy gives all the checks as passed, please let me know if you know the reason for this ?

@SauravMaheshkar
Copy link
Contributor

Working on the fix to the failed type checks. Will be interesting to find out why mypy gives all the checks as passed, please let me know if you know the reason for this ?

Make sure to use the same version as the one mentioned in pyproject.toml

"mypy==1.4.1", # frozen version to avoid differences between CI and local dev machines

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