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

Don't resolve filepaths #219

Merged
merged 3 commits into from
Aug 24, 2022
Merged

Don't resolve filepaths #219

merged 3 commits into from
Aug 24, 2022

Conversation

AllenDowney
Copy link
Contributor

Current data_dir gets resolved to an absolute path, which causes caching to fail.

The fix is to leave it alone -- nothing wrong with relative paths.

Closes #218

@netlify
Copy link

netlify bot commented Aug 24, 2022

Deploy Preview for silly-keller-664934 ready!

Name Link
🔨 Latest commit cee101f
🔍 Latest deploy log https://app.netlify.com/sites/silly-keller-664934/deploys/63067a5237cd100008168438
😎 Deploy Preview https://deploy-preview-219--silly-keller-664934.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

zamba/models/config.py Outdated Show resolved Hide resolved
@github-actions
Copy link
Contributor

github-actions bot commented Aug 24, 2022

Copy link
Collaborator

@ejm714 ejm714 left a comment

Choose a reason for hiding this comment

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

One small tweak needed and one optional one, then it will be good to 🚀

zamba/models/config.py Outdated Show resolved Hide resolved
zamba/models/config.py Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

Codecov Report

Merging #219 (7826466) into master (e697afc) will increase coverage by 0.0%.
The diff coverage is 100.0%.

@@          Coverage Diff           @@
##           master    #219   +/-   ##
======================================
  Coverage    86.9%   87.0%           
======================================
  Files          29      29           
  Lines        1910    1919    +9     
======================================
+ Hits         1661    1670    +9     
  Misses        249     249           
Impacted Files Coverage Δ
zamba/models/config.py 97.2% <100.0%> (+<0.1%) ⬆️

Copy link
Collaborator

@ejm714 ejm714 left a comment

Choose a reason for hiding this comment

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

LGMT! @AllenDowney feel free to merge once the tests finish passing

@AllenDowney AllenDowney merged commit e30c2ae into master Aug 24, 2022
@AllenDowney AllenDowney deleted the fix-cache-key branch August 24, 2022 20:24
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.

Don't resolve filepaths
3 participants