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

Adding anaconda dev container #30

Merged
merged 7 commits into from
Nov 2, 2023
Merged

Adding anaconda dev container #30

merged 7 commits into from
Nov 2, 2023

Conversation

nzigel
Copy link
Contributor

@nzigel nzigel commented Oct 31, 2023

  1. Adding dev container to VSCode to enable local execution.
  2. Make awake_sleep_seconds optional. Closes Make awake_sleep_seconds optional and support None #31

@matin
Copy link
Owner

matin commented Oct 31, 2023

Thanks. I'll take a look

@nzigel
Copy link
Contributor Author

nzigel commented Nov 2, 2023

I have made a second commit to make awake_sleep_seconds optional and support None - I created a new issue #31 to link to this.

garth/data/sleep.py Show resolved Hide resolved
.devcontainer/Dockerfile Outdated Show resolved Hide resolved
.devcontainer/devcontainer.json Outdated Show resolved Hide resolved
.devcontainer/devcontainer.json Outdated Show resolved Hide resolved
Copy link

codecov bot commented Nov 2, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (fad9855) 100.00% compared to head (d1ac95f) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #30   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           34        34           
  Lines         1240      1240           
=========================================
  Hits          1240      1240           
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
garth/data/sleep.py 100.00% <100.00%> (ø)
garth/version.py 100.00% <100.00%> (ø)

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

@matin
Copy link
Owner

matin commented Nov 2, 2023

@nzigel are you running the pre-commit hooks? Lint is failing

Copy link
Owner

@matin matin left a comment

Choose a reason for hiding this comment

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

looks good!

nzigel and others added 7 commits November 2, 2023 17:31
Adding dev container to VSCode to enable local execution.
I have some days in my Garmin Sleep data where I have no restless moments sleeping this results in an error daily_sleep_dto.awake_sleep_seconds
  Input should be a valid integer [type=int_type, input_value=None, input_type=NoneType]
Removing the unnecessary comments from the devcontainer.json and docker files.
I had a strange sleep report when crossing timezones flying back from Europe where the sleep score was INVALID and values were missing. Making the missing values optional to remove validation errors.
@matin
Copy link
Owner

matin commented Nov 2, 2023

Just rebasing and running checks again. When they pass, I'll merge and release

@matin matin merged commit 5aadba6 into matin:main Nov 2, 2023
19 checks passed
@nzigel nzigel deleted the dev branch November 2, 2023 23:39
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.

Make awake_sleep_seconds optional and support None
2 participants