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

v0.7.0 #21

Merged
merged 4 commits into from
Oct 22, 2024
Merged

v0.7.0 #21

merged 4 commits into from
Oct 22, 2024

Conversation

percevalw
Copy link
Member

Description

Changed

  • Aborting a script will now show the traceback

Fixed

  • Confit should no longer cause pydantic v1 deprecation warnings

Checklist

  • If this PR is a bug fix, the bug is documented in the test suite.
  • Changes were documented in the changelog (pending section).
  • If necessary, changes were made to the documentation.

@percevalw percevalw changed the title V0.7.0 v0.7.0 Oct 22, 2024
@percevalw percevalw force-pushed the v0.7.0 branch 2 times, most recently from a2531d0 to 6e13407 Compare October 22, 2024 16:45
Copy link

github-actions bot commented Oct 22, 2024

Coverage Report

NameStmtsMiss∆ MissCover
TOTAL93618098.08%
Files without new missing coverage
NameStmtsMiss∆ MissCover
confit/utils/settings.py

Was already missing at lines 10-12

         return bool(loads(value))
-     except Exception:
-         return True

102080.00%
confit/registry.py

Was already missing at line 118

         if name is None and hasattr(e.model, "type_"):
-             name = e.model.type_.__module__ + "." + e.model.type_.__qualname__
         e = ConfitValidationError(
Was already missing at lines 478-483
         """
-         entrypoints = importlib_metadata.entry_points()
  ...
-             return entrypoints.get(self.entry_point_namespace, [])
Was already missing at line 508
                 if from_entry_point:
-                     return from_entry_point
             if not catalogue.check_exists(*path):
Was already missing at line 515
                 )
-             return catalogue._get(path)

2137096.71%
confit/config.py

Was already missing at line 100

                     else:
-                         current = current[part]
                 try:
Was already missing at line 127
         if resolve:
-             return config.resolve(registry=registry)
Was already missing at line 345
                     return local_names[parts] + ("." if path.endswith(":") else "")
-                 except KeyError:
                     raise KeyError(path)
Was already missing at line 395
             if not deep and len(loc) > 1:
-                 return obj
Was already missing at line 475
                 return
-             current[path] = val
Was already missing at line 502
                     ):
-                         old[key] = new_val
                     else:
Was already missing at line 538
             elif isinstance(obj, list):
-                 return [rec(v) for v in obj]
             elif isinstance(obj, tuple):
Was already missing at line 540
             elif isinstance(obj, tuple):
-                 return tuple(rec(v) for v in obj)
             elif isinstance(obj, Reference):
Was already missing at line 589
     if isinstance(config_paths, Path):
-         config_paths = [config_paths]

2879096.86%

8 files skipped due to complete coverage.

Coverage success: total of 98.08% is above 98.07% 🎉

@percevalw percevalw merged commit de2135b into main Oct 22, 2024
10 checks passed
@percevalw percevalw deleted the v0.7.0 branch October 22, 2024 18:21
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.

1 participant