chore(deps): update dependency inline-snapshot to >=0.32.1#466
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency inline-snapshot to >=0.32.1#466renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #466 +/- ##
==========================================
- Coverage 96.07% 96.03% -0.05%
==========================================
Files 40 40
Lines 2320 2320
==========================================
- Hits 2229 2228 -1
- Misses 91 92 +1 ☔ View full report in Codecov by Sentry. |
59f0aff to
1d20a7c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=0.31.1→>=0.32.1Release Notes
15r10nk/inline-snapshot (inline-snapshot)
v0.32.1Compare Source
Fixed
Fixed handling of
datetimeandtimeobjects with timezone information. Thetzinfoparameter is now properly included in snapshots, andtimezone.utcis represented with the correct import (from datetime import timezone).Fixed customize hook registration to properly check if objects are functions before inspecting the
inline_snapshot_implattribute, preventing potential attribute errors when scanning conftest modules.v0.32.0Compare Source
Removed
Added
pathlib.Path/PurePathvalues are now never stored asPosix/WindowsPathor their Pure variants, which improves the writing of platform independent tests.Support for import statement generation for all types and user-customized code.
Added a new way to customize snapshot creation with
@customize.Added a plugin system which allows you to reuse customizations across multiple projects.
Added support for conditional external storage to automatically store values in external files based on custom criteria (e.g., string length, data size).
Added built-in handlers for
datetime.datetime,date,time, andtimedeltathat generate clean snapshots with proper imports.Generates
__file__instead of the filename string of the current source file.Uses dirty-equals
IsNow()instead of the current datetime when the time value equals the current time.Deprecated
@customize_reprwhich can be replaced with@customize.Fixed
raisescatches BaseException instead of Exception. This ensures that SystemExit and KeyboardInterrupt are also caught.pytest --color flag is now respected
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.