Skip to content

feat: handle list of filenames in absolute_path and file_mtime#89

Merged
WinPlay02 merged 1 commit intomainfrom
mtime-for-list-of-files
Apr 17, 2024
Merged

feat: handle list of filenames in absolute_path and file_mtime#89
WinPlay02 merged 1 commit intomainfrom
mtime-for-list-of-files

Conversation

@lars-reimann
Copy link
Copy Markdown
Member

Closes #88

Summary of Changes

file_mtime and absolute_path can now work with a list of strings as well as a single string. This is needed for function like ImageList.from_files that accept multiple paths.

For now, order matters. Specifying the same paths in a different order leads to a different memoization key.

@lars-reimann lars-reimann requested a review from a team as a code owner April 17, 2024 20:31
@lars-reimann lars-reimann changed the title feat: handle a list of strings in absolute_path and file_mtime feat: handle a list of filenames in absolute_path and file_mtime Apr 17, 2024
@lars-reimann lars-reimann changed the title feat: handle a list of filenames in absolute_path and file_mtime feat: handle list of filenames in absolute_path and file_mtime Apr 17, 2024
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 17, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 2 0 0 0.68s
✅ PYTHON mypy 2 0 2.37s
✅ PYTHON ruff 2 0 0 0.03s
✅ REPOSITORY git_diff yes no 0.02s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@lars-reimann lars-reimann force-pushed the mtime-for-list-of-files branch from 14f2223 to 58f90b6 Compare April 17, 2024 20:37
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (d780822) to head (58f90b6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #89   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           14        14           
  Lines          721       733   +12     
=========================================
+ Hits           721       733   +12     

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

@WinPlay02 WinPlay02 merged commit 50d831f into main Apr 17, 2024
@WinPlay02 WinPlay02 deleted the mtime-for-list-of-files branch April 17, 2024 23:06
lars-reimann pushed a commit that referenced this pull request Apr 22, 2024
## [0.12.0](v0.11.0...v0.12.0) (2024-04-22)

### Features

* handle list of filenames in `absolute_path` and `file_mtime` ([#89](#89)) ([50d831f](50d831f)), closes [#88](#88)
* prepare and pool processes ([#87](#87)) ([e5e7011](e5e7011)), closes [#85](#85)
@lars-reimann
Copy link
Copy Markdown
Member Author

🎉 This PR is included in version 0.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lars-reimann lars-reimann added the released Included in a release label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Included in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

file_mtime should handle list of file names, too

2 participants